Why is this not working. I Just want loading like effects. I just compiled the code the g++ compiler. It take time and just print * * * B R E A K * * *
. There is no difference between per letter.
#include <iostream>
using namespace std;
int main()
{
int wait = 1000000000;
char text[] = {"* * * B R E A K * * *"};
for(int i = 0; i < 21; i++)
{
cout << text[i];
for(int j = 0; j < wait; j++)
;
}
}