Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #define WIN
- void Run()
- {
- std::cout << "Hallo Welt" << std::endl;
- system("PAUSE");
- }
- int main(){
- #ifndef WIN
- std::cout << "This program only run on Microsoft Windows!" << std::endl;
- std::cin.get();
- return 1;
- #endif
- #ifdef WIN
- Run();
- return 0;
- #endif
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement