Mail Archives: djgpp/1998/08/18/08:50:59
In article <35D86C29 DOT 2164 AT geocities DOT com> you wrote:
> How can I use "/?" with "argv" in c++ mode?
You may have to enclose it in quotes. Otherwise, it will be treated as
a filename wildcard and expand to whatever one-letter file or
directory name you happen to have in the root of your hard drive...
Remember: '/' is the directory separator in Unix, and thus in DJGPP.
For checking, just write a small program that prints all its argv[]
strings. Then call it with 'prntargs /?', and see.
--
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.
- Raw text -