Line numbers

This is a discussion on Line numbers within the Tech Board forums, part of the Community Boards category; I just have a quick question, is there a way to display the line numbers in the area where you ...

Line numbers

I just have a quick question, is there a way to display the line numbers in the area where you write your code in Visual C++ 2005? When there is an error after I compile it gives you the line number but aside from counting them there doesn't seem to be an easy way to figure out which line has the issue.

I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.