projects
/
VSoRC
/
.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
29a0f0913162ca5649165f64733c52eb883dcd8e
[VSoRC/.git]
/
node_modules
/
node-pty
/
deps
/
winpty
/
misc
/
ShowArgv.cc
1
// This test program is useful for studying commandline<->argv conversion.
2
3
#include <stdio.h>
4
#include <windows.h>
5
6
int main(int argc, char **argv)
7
{
8
printf("cmdline = [%s]\n", GetCommandLine());
9
for (int i = 0; i < argc; ++i)
10
printf("[%s]\n", argv[i]);
11
return 0;
12
}