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.

Recommended Answers

All 3 Replies

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.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.