Hey guys, Well i've been wondering something. How would you go about doing something like say if 'a' or 'A' is pressed do something for example move a file. Thanks, Clipper34.
Clipper34
0
Newbie Poster
Recommended Answers
Jump to Postchar value; cout << "Enter a letter\n"; cin >> value; if( value == 'a' || value == 'A') { // do something }
All 4 Replies
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
Clipper34
0
Newbie Poster
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
Duoas
1,025
Postaholic
Featured Poster
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.