commenting errors flagged as warnings instead of errors

Discussion in 'C++' started by Comp1597, Apr 8, 2009.

  1. Comp1597

    Comp1597 Guest

    I'm using Visual C++ on Windows Vista.
    Being "only human", I sometimes use
    ***************************************/ to underline a section of
    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
    *************************/ ?

    Comp1597, Apr 8, 2009
    1. Advertisements

  2. Comp1597

    Comp1597 Guest

    Sorry, I was much too hasty. It generates an error as well as a
    Should have looked it over more carefully.
    Comp1597, Apr 8, 2009
    1. Advertisements

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 (here). After that, you can post your question and our members will help you out.