> > int x = 1; > > for( int i = 0; i < 100; ++i ); > > // What will the next line do? Increment???????????/ > > ++x; > > on a standards conforming c++ compiler the ++x; line should be considered as a > comment because the previous line ends with a slash ( indicating that the > next line is a continuation of the previous line. since this line is a > comment the ++x; line should be considered as a comment as well and not be > compiled at all.
So a comment line can continued by appending a backslash! Yet another paradox to add to the list of life's absurdities. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
