Closed (fixed)
Project:
Assignment Studio
Component:
Documentation
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
18 Sep 2008 at 10:11 UTC
Updated:
24 Sep 2008 at 16:00 UTC
hi there
well my question is as follow;
i want to set a loop for my program so it only print a value at a certain time
lets say every second i need to print 30
the loop that i know how to make it is as follow
int num = 0;
while (!kbhit())
{
printf("time = %0.2f ",Time);
for (int i = 0; i<=10;i++)
{
printf("\n %d \n",num);
}
}
where the time is already been set by using
so can anyone help me so at each second i dispplay a number
thnx
Comments
Comment #1
btopro commenteddon't post here anymore please this is not the place.