how come when i use getline in the following form:
i have to press enter twice, once for the getline functionCode:getline(cin,szInput,'\n');
to stop and one to return to the next line....
i want it so that i press it once, it ends the function and
returns to the next line
anyone have any ideas?
thx in advance




Reply With Quote