Click here to Skip to main content
15,893,486 members
Articles / Programming Languages / C++

Switching on custom objects

Rate me:
Please Sign up or sign in to vote.
4.88/5 (16 votes)
14 Nov 2014Public Domain3 min read 14.3K   13  
A switch-like construct for custom objects to improve readability.

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under A Public Domain dedication


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