Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~4K People Reached
Favorite Forums
Favorite Tags
c x 2
c++ x 1

2 Posted Topics

Member Avatar for Diode

[QUOTE=WaltP;255686]I usually do it with this: [code] if (kbhit()) { ch1 = getch(); if (ch1 != '\0') { // process a normal keystroke } else { ch2 = getch(); // get the arrow or function key switch(ch2) { // process the arrow or function key } } } [/code] You …

Member Avatar for hsp700
1
4K
Member Avatar for chandangang

i want to make a program in c++ , such that if the right arrow key is pressed 1 is displayed else if left arrow key is pressed 0 is displayed. please give me the code to do so and explain too.

Member Avatar for William Hemsworth
0
180

The End.