cin type input

Started by
0 comments, last by parklife 22 years, 5 months ago
Hello, I don''t know how to create a cin-type input when in windows using dx. Maybe like a quake console, how would i do it? thanks in advance!
Advertisement
I suppose one way is to make a sstream (string stream) and insert key presses in to the stream when you get the appropriate message (and the console is visible), and extract items when you want.

see http://www.cplusplus.com/ref/iostream/stringstream/

This topic is closed to new replies.

Advertisement