Jump to content
  • Advertisement
Sign in to follow this  
jordi_0071

gotoxy

This topic is 5053 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

i just have this:


Empty_Board();

void Empty_Board()
{
cout << " 1 2 3 " << endl;
cout << " _________________" << endl;
cout << " | | | |" << endl;
cout << "a | | | |" << endl;
cout << " |_____|_____|_____|" << endl;
cout << " | | | |" << endl;
cout << "b | | | |" << endl;
cout << " |_____|_____|_____|" << endl;
cout << " | | | |" << endl;
cout << "c | | | |" << endl;
cout << " |_____|_____|_____|" << endl;
}



and i want that the cursor is invisible and that you cant see what you type as you for example typ 1 a it doesnt show that.

Share this post


Link to post
Share on other sites
Advertisement
Are you actually going to move the cursor into the screen space of that board so the user can type their peice into it? :O Completly uneeded.

Share this post


Link to post
Share on other sites
no i just want that the cursor is invisible and you cant see the output if you type 1 and a. so that if you typ 1 and a it just put a X in that position.

Share this post


Link to post
Share on other sites
Then look at the code I just wrote, and build somethign like that.

Draw the board, wait for input. If the user can't see their input though, you are better off labelling the slots 1-9. Because there is no slot a or 1.. only 1a and a1.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!