commenting errors flagged as warnings instead of errors

C

Comp1597

I'm using Visual C++ on Windows Vista.
Being "only human", I sometimes use
***************************************/ to underline a section of
code
instead of the correct /************************************/ I'm
surprised by the fact that my mistake generates a warning rather than
an error.
How does the compiler understand
*************************/ ?

Thanks
 
C

Comp1597

I'm using Visual C++ on Windows Vista.
Being "only human", I sometimes use
***************************************/   to underline a section of
code
instead of the correct  /************************************/    I'm
surprised by the fact that my mistake generates a warning rather than
an error.
How does the compiler understand
*************************/           ?

Thanks

Sorry, I was much too hasty. It generates an error as well as a
warning.
Should have looked it over more carefully.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,905
Latest member
Kristy_Poole

Latest Threads

Top