Hi people. I was just wondering if I can use _LINE_( by including some header file or so) in devc++ to get the source code line number or _TIMESTAMP_ to get the compile time timestamp. If not is there an alternative? I see compile time errors when I use them in my programs.

3
Contributors
3
Replies
4
Views
9 Years
Discussion Span
Last Post by jagatsastry

Try it. :)

(Its a preprocessor macro.)

Oops. Thank you. The fact is that this is the first time I'm using these macros and I didnt notice those two underscores.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.