Mail Archives: djgpp/1996/09/29/16:52:58
Will C Stockwell wrote:
> I am having a problem with the backslashes codes for the printf()
> statement and the compiler. I put one in and it say stray "\" in code or
> something close to that. What's the deal with this? Thanks.
Backslashes are used as escape codes in string literals in C; I suggest you
get an introductory book on C. If you want to actually embed a backslash in a
string, you need to escape it twice (\\).
--
Erik Max Francis, &tSftDotIotE http://www.alcyone.com/max/ max AT alcyone DOT com
San Jose, California ICBM 37 20 07 N 121 53 38 W R^4: the 4th R is respect
"Gods are born and die, but the atom endures." -- Alexander Chase
- Raw text -