How we can input single string with free space.

for example

string a;
cin>>a; (ali asad)

now it ignores asad and just takes ali. how to slove this issue.

please please help.