Newline in constant string
Dave Raggett
dave_raggett@hotmail.com
Thu Dec 28 19:11:00 GMT 2000
When I wrote some codes like this
char *MyName="I am Dave Ra
ggett";
gcc will treat the string as "I am Dave Ra\nggett".so I think gcc should
give some
warning in such case. e.g. "missing '\' in your constant string".
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com .
More information about the Gcc
mailing list