Advertisement
Guest User

Untitled

a guest
Sep 20th, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.14 KB | None | 0 0
  1. int main()
  2. {
  3.     if (argc == 1)
  4.     {
  5.         throw std::exception("No arguments were passed. Closing.");
  6.     }
  7.    
  8.     if (argc > 2)
  9.     {
  10.         throw
  11.     }
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement