Sign in to follow this  
Ronnie TRFC

Help with the console window

Recommended Posts

Hello, I'm making a very simple game in a 3D environment using a engine provided by my tutor. However there is a point in my game where the player needs to input text but the game engine does not support text input. Therefore i think i am going to have to use the console window for the player to enter text into. Is it possible to call up the console window when i require the player to enter the text; for the player to then enter the text which will do something and then for the console window to close. Hope that makes sense. Thanks in advance. Ronnie. EDIT: Sorry i forgot to add that i am working with Microsoft Visual Studio using C++.

Share this post


Link to post
Share on other sites
You can bring up a console window with AllocConsole() and destroy it with FreeConsole(). This won't help if your application is fullscreen, however.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this