c++ - __FILE__ macro
- Karyn Chen <Karyn_member pathlink.com> Nov 15 2004
I am using the __FILE__ macro but am having problems. Sometimes the macro is replaced by the file name, File.cc, both other times it is replaced by the whole path name like /home/dev/test/File.cc. How can I prevent the whole path name from printing?
Nov 15 2004