Mail Archives: djgpp/1994/03/27/04:28:09
I think I remember this being asked a while back, but I can't
remember. I am trying to print out the argv[0] element as so:
the command line that I am typing in to run my program is:
C:\DJGPP\BUBBAC\PROJECT>fileprep
^^^^^^^^
and this is the output I get:
File Conversion Utility version 1.0
Murle Cleveland Meetze III
University of South Carolina
usage:
c:/djgpp/bubbac/project/fileprep.exe <filename1> <filename2>
filename1 is the file to prep. for ADVISOR
filename2 is the prep. file for ADVISOR
but I don't want the full path listed in the output of printing
argv[0]. Is there a way of taking this information out?
Also I have noticed some files in my tmp dir. can I delete these files
or are they used by the compiler. Just curious.
Murle Cleveland Meetze III
meetze AT charlie DOT ece DOT scarolina DOT edu
- Raw text -