Advertisement
Guest User

Untitled

a guest
Apr 19th, 2014
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. #include <iostream>
  2. #include <ncurses.h>
  3. #include <unistd.h>
  4. using namespace std;
  5.  
  6. int main()
  7. {
  8. initscr();
  9.  
  10. for (int n = 0; n < 10; n++)
  11. {
  12. mvaddch(0,n,'#');
  13. usleep(10000);
  14. }
  15. getch();
  16. endwin();
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement