Advertisement
Guest User

Untitled

a guest
May 29th, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.38 KB | None | 0 0
  1. #include <curses.h>
  2. #include <string.h>
  3.  
  4. int main()
  5. {
  6.     int loopnum = 1;
  7.     int dubloop = 1;
  8.     int y = 1;
  9.     int x = 2;
  10.  
  11.     for(;dubloop <=20;){
  12.  
  13.         dubloop++;
  14.  
  15.         for(;loopnum <= 20;){
  16.             initscr();
  17.             mvaddch(y,x,'f');
  18.             refresh();
  19.                 x++;
  20.                 loopnum++;
  21.                             }
  22.         }
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement