let's say the user enters a value in this format xx:xx:xx
where xx is an integer, how can I assign each xx to integer vars?
I though of everything I know..
can't use getline(),getchar() bcuz they accept characters only, can't use cin either..
thought of storing the xx:xx:xx on an array but don't know if it's possible to convert char variable to int variable..
for example, the user enters 55:44:33
the program assignes 55,44,33 to three different variables based on a char that I define (:)
sorry if I'm not being clear enough..