how to enumarate lines on vs2005

This is a discussion on how to enumarate lines on vs2005 within the Tech Board forums, part of the Community Boards category; i can find in google a manual for that when i get a warning on some line i need to ...

  1. #1
    Banned
    Join Date
    Oct 2008
    Posts
    1,535

    how to enumarate lines on vs2005

    i can find in google a manual for that

    when i get a warning on some line
    i need to count them one by one

    how to d so there will an index near each line presenting its number

    ??

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    21,310
    Go to: Tools -> Options -> Text Editor -> C/C++
    Check the "Line numbers" options and click OK.

    Alternatively, take a look at a status bar near the bottom. There would be a "Ln N" if your cursor is on line N.
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #3
    Banned
    Join Date
    Oct 2008
    Posts
    1,535
    thanks

  4. #4
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,893
    Uh, how about double-clicking the warning? If it is in the tool output of VS, it should take you right to that line.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 11
    Last Post: 10-07-2008, 06:19 PM
  2. Print out first N lines
    By YoYayYo in forum C Programming
    Replies: 1
    Last Post: 02-20-2008, 11:58 PM
  3. Line Counting
    By 00Sven in forum C Programming
    Replies: 26
    Last Post: 04-02-2006, 08:59 PM
  4. Reading lines from a file
    By blackswan in forum C Programming
    Replies: 9
    Last Post: 04-26-2005, 04:29 PM
  5. count only lines of code...
    By flightsimdude in forum C Programming
    Replies: 13
    Last Post: 09-23-2003, 07:08 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21