Created
October 31, 2016 15:13
-
-
Save AndyNovo/11d0a4b453dc8e607dbaae86c7d690c3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <cstring> | |
#include <stdexcept> | |
void go(char *data) { | |
char name[64]; | |
strcpy(name, data); | |
} | |
int main(int argc, char **argv) { | |
go(argv[1]); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment