what is the meaning of
cin. get()
Sorting strings
bascially its used to get input from user
cin >> str
would terminate the cin if a white space is encountered
but in case u need to add space seprated string use cin.get()
what is the meaning of
cin. get()
bascially its used to get input from user
cin >> str
would terminate the cin if a white space is encountered
but in case u need to add space seprated string use cin.get()