hi guys!

i have 1 year off school (grad school transition, hopefully ) and my company actually prefer individual with c++/c# programing skill which a person, studying physics like me, doesn't have much.
So, I decided to go on my own by self-studying.

1. Reading 2 books abot C++: deitel&deitel and another one from D.S Malik "C++ program"
2. Try to do as much as exercise programs as possible.

But, i'm only at control structures (if, while, do, for, switch) and I encounter a program of separating digits from an integer number in order to add them.

I found this hard (without using string and array) and I ended up google the algorithm.

Aren't you supposed to come up with the solution by yourself?
I'm just worried about the quality of self-studying like that.

thanks for any insight!