text: #include <windows.h> int main() { int i; int y=6; int x=9; gotoxy(x,y); //gotoxy(x,y) must be the coordinate that the number lies in. for(i=0;i>1;i++){ printf("%d",i); } getch(); } int gotoxy(int x,int y) {COORD coord = {x,y}; SetConsoleCursorPosition(GetStdHandle(STD_OUTPUT_HANDLE),coord); }
  //how to make this program that the output is a number
  that counts up to infinite (or we say just like a timer but there's no minute just all whole number counting up ) using for loop ? and when the number changes it also change in color !
  and the color of a number is according to the color attribute of console output.
  I just need help because i'm a newbie.