You not getting my point.
Well I use for-loop this time haha.
int main()
{
char test[256];
for (int i = 1; i <=6; i++)
{
cout <<"Please enter your name: ";
cin.get(test,256);
cout <<"you said" <<test;
}
return 0;
}
it still flooding me without waiting for me to type a word.
Once I typed: hello
then it return stupid output (it didnt ask me to enter a word on second loop and so on [cin.get fail on fail if looping])
Please enter your name: Hello
you saidHelloPlease enter your name: you saidPlease enter your name: you saidPle
ase enter your name: you saidPlease enter your name: you saidPlease enter your n
ame: you said