Click here to Skip to main content
15,896,557 members
Articles / Programming Languages / C++

Enum to String and Vice Versa in C++

Rate me:
Please Sign up or sign in to vote.
4.88/5 (11 votes)
2 Sep 2009MIT4 min read 106.1K   2.2K   30  
A simple method to convert a C++ enumeration to its equivalent string representation and vice versa

Views

Daily Counts

Downloads

Weekly Counts

License

This article, along with any associated source code and files, is licensed under The MIT License


Written By
Software Developer
United States United States
Besides loving spending time with family, Francis Xavier likes to watch sci-fi/fantasy/action/drama movies, listen to music, and play video-games. After being exposed to a few video-games, he developed an interest in computer programming. He currently holds a Bachelor's degree in Computer Applications.

Comments and Discussions