Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
~616 People Reached
Favorite Forums
Favorite Tags
c++ x 2
c x 2
Member Avatar for GDFans

Im writing a programme in graphics mode using BGI.I want to get inputs from user and display it on screen,like text mode does.But fuctions such as scanf() cannt work any more.Can anybody give me a solution?

0
126
Member Avatar for Asif_NSU

I can read which key is pressed using getch(). For example i can read whether left arrow is pressed or not. But i want know whether both left arrow and up arrow is pressed at the same time or not-- I want to move an object diagonally across the screen …

Member Avatar for gusano79
0
180
Member Avatar for XianBin

the book "Effective C++" have a item introduce cosnt,but a question i dont understand clearly. [code] class GamePlayer { private: static const int NUM_TURNS = 5; // constant eclaration int scores[NUM_TURNS]; // use of constant ... }; const int GamePlayer::NUM_TURNS; // mandatory definition; // goes in class impl.file [/code] why …

Member Avatar for FireNet
1
219
Member Avatar for Asif_NSU

In my program i will be taking two inputs, lets say two integers. If the number of input is more than two the program will exit. If it is two then the loop will be executed and after that it will again ask for two new inputs-- and will continue …

Member Avatar for Dave Sinkula
0
91