You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#include <stdio.h>
int main(int argc, char **argv)
{
printf("argc: %i\n", argc);
for (int i = 0; i < argc; ++i)
{
printf("argv[%i]: %s\n", i, argv[i]);
}
return 0;
}
which I compile as cl /nologo /Zi main.cpp
When I run it:
E:\>main.exe -a something_here -b "something here with spaces"
argc: 5
argv[0]: main.exe
argv[1]: -a
argv[2]: something_here
argv[3]: -b
argv[4]: something here with spaces
While in raddebugger
The text was updated successfully, but these errors were encountered:
I have a simple C++ program
which I compile as
cl /nologo /Zi main.cpp
When I run it:
While in raddebugger
The text was updated successfully, but these errors were encountered: