April 5th, 1999, 05:50 PM
I want to know how to get the current line number so it will be easy to locate where the error occurs.
|
Click to See Complete Forum and Search --> : how to get current line number? April 5th, 1999, 05:50 PM I want to know how to get the current line number so it will be easy to locate where the error occurs. Aureliano Lopez April 5th, 1999, 06:08 PM Look in your documentation for __LINE__. It will do what you want while it is preprocessing the files. Aureliano Wilka April 5th, 1999, 08:28 PM If it's the normal errors you get when compiling/linking with visual c; just double click the error in the output window and it'll take you to line with the error. If you want to go to a particular line in a file you can use the go to command (edit menu, or press ctrl+g). The line the cursor is currently on is shown on the status bar at the life. Ln XXXX, Col XX for line and column. codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |