delay in c++ using stdio.h
how can I make it wrong using stdio.h instead of iostream
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
|
#include <ctime>
#include <conio.h>
#include <stdio.h>
void wait(int wait_time);
char var_name [11];
int main()
{
printf("write your name please\n") ;
scanf("%s",&var_name) ;
wait(4);
printf("hello %s\n",var_name) ;
wait(4);
getch() ;
return 0 ;
}
|
Topic archived. No new replies allowed.