On Tue, 2 Mar 1999 [EMAIL PROTECTED] wrote:
# #define LOGFILE /APPHOME/applogfile /* APPHOME is the actual home
# directory for the application */
# remove("LOGFILE"); /* First remove the old logfile */
# LogFile = fopen("LOGFILE", "w");
you know how using #define's replaces whatever you #define with whatever
is after it? (#define FOO bar would go through your code and replace all
occurrences of FOO with bar)
wouldn't the above get turned into:
remove ("/APPHOME/applogfile /* APPHOME is the actual home......")
or would it strip out the comments first?
--
+++ Beware of programmers who carry screwdrivers +++
[EMAIL PROTECTED] http://www.users.globalnet.co.uk/~kermit