Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef CLRSCR_H_INCLUDED
- #define CLRSCR_H_INCLUDED
- #include <iostream>
- void clrscr()
- {
- std::cout << "\E[H\E[2J";
- }
- void gotl()
- {
- std::cout << "\E[H";
- }
- #endif // CLRSCR_H_INCLUDED
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement