Compiler problem V C .NET 2003

  • Thread starter Thread starter Allen Maki
  • Start date Start date
A

Allen Maki

My compiler is acting up. When I have building error, the left margin
pointer will point to the wrong line. Sometimes, the deferent between the
line that has the error and the line it pointed to can be more than twenty
lines.



Sometimes, It will give error message for something that I commented (//).

As soon as I delete the commented line, the building error will disappear .
 
RESOLUTION
1. Open the source file in the Visual Studio .NET editor.
2. On the File menu, click Advanced Save Options.
3. In the Line Endings list box, click Windows (CR LF), and then click OK.
4. Save the file.
5. Compile the project.
 
Back
Top