it does not print the string put in the loop. The program was written with the help of g++, with sys/types.h header file included
for(int i=0;i<9;i++)
{
cout<<"||";
sleep(1);
}
You're not flushing your output.
std::cout << "||" << std::flush;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With