• Advertisement

Archived

This topic is now archived and is closed to further replies.

cin type input

This topic is 5932 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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!

Share this post


Link to post
Share on other sites
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/

Share this post


Link to post
Share on other sites

  • Advertisement