Click here to Skip to main content
15,889,992 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have run a c++ program in Microsoft Visual Studio 2008.I have seen that the output window shows that there are 3 errors.Could you tell me where can I find those errors?Is there any option as in turbo c whihc lists the errors and the details like the line number ,the possible error,etc.
Posted
Comments
Maximilien 27-Jan-12 10:05am    
compilation errors or runtime errors ?
If compilation errors,then they should be listed in the UI.
If runtime errors, then you should be able to debug your program by starting the debug (F5)

Visual studio lists the errors and includes the filename and the line number. Are you sure these are compiler errors? Perhaps if you copy and paste the complete text into your question above someone may be able to help further.
 
Share this answer
 
Visua Studio has an 'Error List' Window. You may make it show (if isn't already there) using the menu View->Error List.
(At least this work on the Visual Studio 2005 I have here).
 
Share this answer
 
I assume that compilation stopped due to an error, and you did not run an already compiled program from within VS (which may also write to the output window).

Scroll upwards in the output window to see the messages with source file name and line number. Double-click on the error message to open the corresponding source file and set the cursor to the line where the error occurs. To obtain help on the error number, click on the error number to set the cursor, and press F1.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900