Take anything at everywhere to build knowlege
Wednesday, August 22, 2012
String contants special characters
Ex:
s = "abc??(x)";
Compile error by '-trigraphs' option of compiler,
??=、??(、??/、??)、??'、??<、??!、??>、??- is each #、[、¥、]、^、{、|、}、̃
"abc??(x)" is "abc[x)".
Fix:
s = "abc\?\?(x)";
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment