Monday, May 24, 2010

C programming question:?

i have to make a program that shows a windwill; basically every second the character on the screen changes form / , | , \ , and - . we have to use putchar(), pointers, and this line of code:


setbuf(stdout, NULL);


I've tried 2 different things: one of them only shows '/' and doesnt change while the other doesnt replace characters but adds them: /-\|/-\|/-....


How could i make this work?

C programming question:?
ask ure teacher man
Reply:gotoxy()


No comments:

Post a Comment