I\'m trying to learn c++ on my own and I\'ve hit a bit of a road block. The problem is I need to take an integer,split it into its digits and get the sum of the digits and
Use std::stack to store separate digits, then print out the contents of stack.
here is a nice article: http://en.wikipedia.org/wiki/Stack_(data_structure)
here is how to use stacks in C++: http://www.sgi.com/tech/stl/stack.html