Sunday, July 12, 2009

On MS Visual C++, when i am typing my code, how do i make line numbers appear?

When using the work computers, the visual studio .NET have numbers on the side to denote the lines. How do i make it appear on my compiler at home?

On MS Visual C++, when i am typing my code, how do i make line numbers appear?
In Visual Studio 2003, you can go to "Tools... and the Options..."





From there, you should be given a tree view, select the "Text Editor" folder. Select the language of choice (in this case C/C++) and then look for a checkbox that reads "Line Numbers". Check that box and you should be good to go.
Reply:Don't forget, in the IDE, you can also press Ctrl-G and you will be given a dialog box that will allow you to type in the line number and the editor will navigate right there. It saves scrolling time. :) Report It


rose

No comments:

Post a Comment