Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (strcmp(argv[1],"int")==0) {
- int* arr = nullptr;
- //allocate memory and do stuff
- }
- if (strcmp(argv[1],"long")==0) {
- long* arr = nullptr;
- //do stuff
- }
- //same with char
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement