Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Line Numbers in Source Code??

Status
Not open for further replies.

FragnSlayer

Technical User
Jan 9, 2001
1
US
Does anyone know how to invoke Line Numbers into the Source Code for Microsoft Visual C++ ver 6.0??
 
Nope. I've never seen the need for it before.

Chip H.
 
FragnSlayer -

Are you perhaps talking about the __LINE__ macro, that inserts the current line number into your code during compilation?

Chip H.
 
Yes, it's a predefined ANSI macro. Do a search in MSDN for "Predefined Macros", you'll get a whole list of them, along with some Microsoft-specific ones.

Chip H.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top