Checking for empty input???

by Unseen Machine (no login)

If i have a menu where i have a switch for the options, if i press enter and have not entered anything the cursor moves down a line and if i do it enough (when the cursor is at the bottom) the text onscreen gets shunted and becomes no longer visible.

So my question is how do i check for carrige return (i think thats enter) in C++?

John

Posted on May 2, 2011, 11:04 AM

Respond to this message   

Return to Index


Response TitleAuthor and Date
maybe try using a string.(URL) on May 2
 You're on the right track!ChronoKitsune on May 2