when the for loop started it would automatically read something in for cin and execute a loop and then for the second iteration it would work properly.
to fix this problem i put std::cin.ignore() before the std::cout<<text line
this would stop the problem of the first iteration, but would require me to hit <return> at the beginning or the other loops.
what I am looking for is a way for cin to clear itself if something is there and do nothing if nothing is there.