Saturday, May 24, 2008

How can I insert location dependent information in my debugging messages?

Visual Studio defines the symbols __LINE__ and __FILE__ and __FUNCTION__ so you can access the line number, source file, and function where they are inserted.

No comments: