blob: 29a0f0913162ca5649165f64733c52eb883dcd8e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// This test program is useful for studying commandline<->argv conversion.
#include <stdio.h>
#include <windows.h>
int main(int argc, char **argv)
{
printf("cmdline = [%s]\n", GetCommandLine());
for (int i = 0; i < argc; ++i)
printf("[%s]\n", argv[i]);
return 0;
}
|