Dynamically Get  String without using cin.get()