Create a program that will accept a character and display its ASCII value.
tentrabyte
0
Newbie Poster
Recommended Answers
Jump to PostI'm not going to do your homework for you, but here is a way to output a char's numerical respresentation:
std::cout << (int)someChar;
All 3 Replies
Moschops
683
Practically a Master Poster
Featured Poster
rubberman
1,355
Nearly a Posting Virtuoso
Featured Poster
Neuman
0
Newbie 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.