cin type input
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!
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/
see http://www.cplusplus.com/ref/iostream/stringstream/
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement