Advertisement
Sliver1991

Untitled

Jul 31st, 2017
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.18 KB | None | 0 0
  1. if (strcmp(argv[1],"int")==0) {
  2.     int* arr = nullptr;
  3.     //allocate memory and do stuff
  4. }
  5. if (strcmp(argv[1],"long")==0) {
  6.     long* arr = nullptr;
  7.     //do stuff
  8. }
  9. //same with char
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement