Solved

How to Dsiplay line numbers in Source Code

Posted on 2002-03-21
1
163 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.

749 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