Re: [Dev-C++] BC++, gcc and Win98SE shell
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: jansb000 <jan...@wx...> - 2002-02-25 16:02:08
|
The usage of wildcards in unix is normally handled by the shell. Hence, calling a program like this: "prg *.txt" is translated to "prg 1.txt 2.txt ...". In DOS there is no such default handling of wildcards. Compiler builders must make there own solution. DJGPP and MINGW32 (DevC++) simulate the unix method, probably to maintain platform independency. For BCC you can get the arguments as-is, this it what we see here, or you can link the file "wildargs.obj" in your project. That should give you the same results as with DJGPP or MINGW32. (I found this in my old Turbo C++ 3.0 users guide). ----- Original Message ----- > > command output > echo_g *.c bar.c foo.c > echo_b *.c *.c |