I have some problems using cin -command. Let's assume someone writes a random input from keyboard and it is "123.04.00012" + <return>, how can I store numbers 123, 4 and 12 to variables? I'd like to handle "." as a separator. Please give me a simple answer.