Solved

How to Dsiplay line numbers in Source Code

Posted on 2002-03-21
1
164 Views
Last Modified: 2010-04-02
Im getting a fatal compiler error (C1001) at line 1786.

There is no way Im counting 1786 lines, so i assume that somewhere there is an option that will display line numbers.

Can sometime tell me how to set this?

thanks.


PS Im using Visual C++ Version 6.
0
Comment
Question by:rangers99
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 12

Accepted Solution

by:
pjknibbs earned 100 total points
ID: 6884912
There isn't an option to display line numbers, but if you hit CTRL+G in the editor window it'll pop up a box which lets you jump to a particular point in the file using a number of different criteria--line numbers being one of them.

However, if you double-click on the error it ought to take you straight to the faulting line anyway.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

732 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question