Advertisement
Guest User

Untitled

a guest
Dec 8th, 2015
28
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.28 KB | None | 0 0
  1. #include <iostream>
  2. #define WIN
  3. void Run()
  4. {
  5. std::cout << "Hallo Welt" << std::endl;
  6. system("PAUSE");
  7. }
  8. int main(){
  9. #ifndef WIN
  10. std::cout << "This program only run on Microsoft Windows!" << std::endl;
  11. std::cin.get();
  12. return 1;
  13. #endif
  14. #ifdef WIN
  15. Run();
  16. return 0;
  17. #endif
  18. }
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement