include<stdio.h> Use std::cin and getline each time appending a \n each time. You can input string with white spaces by simply using scanf(" %[^\n]s",s);It will read string up to the newline character. | 0 |
By: [email protected] On: Sun Nov 12 11:59:57 IST 2017 0 0 0 | 0 |
Are You Satisfied :0Yes0No |
you can use puts() and gets() in c++ to get input and output string spaces. | 0 |
By: [email protected] On: Fri Nov 17 15:43:48 IST 2017 0 0 2 | 2 |
Are You Satisfied :0Yes0No |