Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. How can I see line numbers?

How can I see line numbers?

Scheduled Pinned Locked Moved C / C++ / MFC
questionc++
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    rbc
    wrote on last edited by
    #1

    I feel dumb asking this question ... but what the heck. You know how sometimes a program writes to the console stuff like ... main.cpp line 345 cannot open file blah.dat ... I want to open the file main.cpp and have to cursor go to line 345. How do you do that with the VC++ 6 editor? Thanks ;P

    S R R 3 Replies Last reply
    0
    • R rbc

      I feel dumb asking this question ... but what the heck. You know how sometimes a program writes to the console stuff like ... main.cpp line 345 cannot open file blah.dat ... I want to open the file main.cpp and have to cursor go to line 345. How do you do that with the VC++ 6 editor? Thanks ;P

      S Offline
      S Offline
      Shog9 0
      wrote on last edited by
      #2

      As i recall, it's either an option under the Edit menu, or Edit->Advanced menu. --------

      Have you hugged your monitor today?

      --Shog9 --

      1 Reply Last reply
      0
      • R rbc

        I feel dumb asking this question ... but what the heck. You know how sometimes a program writes to the console stuff like ... main.cpp line 345 cannot open file blah.dat ... I want to open the file main.cpp and have to cursor go to line 345. How do you do that with the VC++ 6 editor? Thanks ;P

        R Offline
        R Offline
        Rama Krishna Vavilala
        wrote on last edited by
        #3

        Ctrl+G, In the dialog that appears type the line number. I have never wasted time worrying about such insignificant things. Keep your eye upon the donut and NOT upon the hole. - Bill Sergio about posting in the right forum. The Lounge - June 23, 2002

        1 Reply Last reply
        0
        • R rbc

          I feel dumb asking this question ... but what the heck. You know how sometimes a program writes to the console stuff like ... main.cpp line 345 cannot open file blah.dat ... I want to open the file main.cpp and have to cursor go to line 345. How do you do that with the VC++ 6 editor? Thanks ;P

          R Offline
          R Offline
          Rick Crone
          wrote on last edited by
          #4

          I think you may have gotten a better answer, but: There is a line and column counter in the lower right of the screen when you are editing your source file.

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups