RE: [Dev-C++] Dev-C++ Bug? Using backslash within comments
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Jonathan D. <gri...@ho...> - 2005-07-06 16:55:58
|
Reid, you're definitely right about escaping the line-break. That's the problem, but is that a feature of the compiler (as Peter said) or is it a little mistake in the compiler source? As I said before, other compilers ignore the backslash if it's in a comment (as I believe they should). Also, if it's a feature, shouldn't it be useful? There is a separate comment style (the old style /*text*/) in case you want to comment multiple lines. Escape characters shouldn't affect comments. I think this is just a bug. A small bug, but how should it be handled? Verne, are you saying your compiler gave a warning because there's code after the main() return? That's fine, it's just a comment. I would expect that. I use Dev-C++ exclusively for editing and compiling, by the way. _________________________________________________________________ Dont just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/ |