Having problem in cin with strings.. :( Help!!

This is a discussion on Having problem in cin with strings.. :( Help!! within the C++ Programming forums, part of the General Programming Boards category; Input: fred
output: Name 1: fred
Name 2:
input: fred silv
output: Name 1: fred
Name 2: silv
Help me ...