Advertisement
Guest User

Untitled

a guest
May 4th, 2013
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. #include "stdafx.h"
  2. #include "string.h"
  3.  
  4.  
  5. int main(int argc, char* argv[])
  6. { int i;
  7. const int nn=10;
  8.  
  9.  
  10. if(argc>=1)
  11. {
  12. for(i=1;i<nn;i++)
  13.  
  14. if(strcmp(argv[i],"/h")==0)
  15. {
  16. puts("Copy.exe; \n Vozmoznie komandi:\n /h - help \n /t -timer");
  17. break;
  18. }
  19. else puts("net takogo argv");
  20. }
  21. else puts("vvedite argumenti");
  22.  
  23. return 0;
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement