Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Echo command line args

Compile in Developer Command Prompt for VS 2015

PS> cl echo.c 
#include <stdio.h>
int main(int argc, char** argv) {
for(int i = 0; i < argc; i++) {
printf("%d = %s\n", i, argv[i]);
}
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.