Search This Blog

Monday, 26 November 2012

Program to make a word appear for 1 second and then it disappears.


#include <iostream>
#include <windows.h>
using namespace std;
 int main()


 {
cout<<"  a";
Sleep(1000);
cout<<"\b ";
cout<<endl;

return 0;
 }
//You can extend this to get your required result.

No comments:

Post a Comment