How to show a list of options and allow the user to select the options by using arrow keys and enter.
chound
1
Junior Poster
Recommended Answers
Jump to Post>How to show a list of options and allow the user to select the options by using arrow keys and enter.
How to include your operating system and compiler in the question because manipulating the arrow keys is platform-dependent.
Jump to PostNarue,
finally a good use for --> system("cls");
and you did it without the stdlib.h
Jump to PostI cant understand this line. Also is it possible to create a background colour for the option if it is selected?
On the background color of console text take a look at:
http://www.daniweb.com/code/snippet83.html
All 12 Replies
Narue
5,707
Bad Cop
Team Colleague
chound
1
Junior Poster
Narue
5,707
Bad Cop
Team Colleague
vegaseat
1,735
DaniWeb's Hypocrite
Team Colleague
Narue
5,707
Bad Cop
Team Colleague
1o0oBhP
4
Posting Pro in Training
Narue
5,707
Bad Cop
Team Colleague
1o0oBhP
4
Posting Pro in Training
chound
1
Junior Poster
1o0oBhP
4
Posting Pro in Training
Narue
5,707
Bad Cop
Team Colleague
vegaseat
1,735
DaniWeb's Hypocrite
Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.