Re: [Dev-C++] Dev-C++ Bug? Using backslash within comments
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Peter B. <pb...@hg...> - 2005-07-06 15:14:02
|
(snip) > // let's cause a problem with backslash \ > y = x*55; (snip) Mmmm, I think it's not a bug it's a feature... This is a backslash at/or before the end of line. This tells the preprocessor that the statement continues on next line. So in your example 'y = x*55;' belongs to the comment. Compile with -Wall and you will get a warning. Peter |