__FILE__

christopher anthony sucato csucato@u.washington.edu
Thu Jan 24 23:10:00 GMT 2002


Hi, i was hoping somebody could answer a quick question about the
predefined macro __FILE__. when i try using __FILE__ to print the full
name of the source file such as "/usr/me/code/main.cpp" all I get is
"main.cpp". Is there a way to get __FILE__ to display the full path name
to the file???

Thanks for your time,

Chris



More information about the Gcc-help mailing list