psisung
asked on
seperating input from cin
I need to be able to seperate values from cin to 2 separate variables. For Example:
1430 needs to be put into two variables:
variable1 = 14, variable 2 = 30
Additionally, input could be formatted as:
14:30
and then,
variable1 = 14, variable2 = 30
1430 needs to be put into two variables:
variable1 = 14, variable 2 = 30
Additionally, input could be formatted as:
14:30
and then,
variable1 = 14, variable2 = 30
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.