home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2000 January
/
PCWorld_2000-01_cd.bin
/
Software
/
Servis
/
Devc
/
_SETUP.5
/
Group15
/
noglob.c
< prev
next >
Wrap
C/C++ Source or Header
|
1997-10-16
|
376b
|
23 lines
#include <stdlib.h>
#include <stdio.h>
#include <windows.h>
/* This line turns off automatic command line globbing. */
int _CRT_glob = 0;
int
main (int argc, char* argv[])
{
int i;
printf ("Command line (via GetCommandLine) \"%s\"\n",
GetCommandLine());
for (i = 0; i < argc; i++)
{
printf ("Argv[%d] \"%s\"\n", i, argv[i]);
}
return 0;
}