Mail Archives: djgpp/1994/03/27/04:28:09

Date: Sun, 27 Mar 1994 03:58:02 -0500
From: meetze AT charlie DOT ece DOT scarolina DOT edu (Murle C. Meetze III)
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: argv[0] problem(unwanted path in printout)

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:
and this is the output I get:
File Conversion Utility version 1.0
Murle Cleveland Meetze III
University of South Carolina
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 -

  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019