How the fuck do I make a console take keyboard input?

No.11731339 ViewReplyOriginalReport
Okay so I'm coding in c++. The only way I can figure out how to make the console take key input is to manually input each fucking character as a seperate string and compare them to the string input I place in the console. Please tell me theres a less retarded way to do this.