HI,
if i have something like this
char string[16];
std::cin>>string;
and i type something and press "Enter" then std::cin
would terminate, how do i get it to terminate when my first key input is "Enter" ?
because normally if i do that , input will not terminate and i will only move to a new line so how do i get it to terminate instead ?