‘??’ gets converted into ‘^’ if I compile mn VC++ program and run it
e.g.
sprintf( ch, "??")
prints out
^
But if I run the same code in Turbo C/C++, there is no such problem. Why is it happening on VC++ on Windows?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
??alone is not a trigraph, although??'corresponds to^.Perhaps you typed it here different from what you have in code and you can’t see the trailing single quote in your string because it’s too close to the closing quote.
So in code you probably have: