I want to ask: in C/C++, for example:
Code:
#include<string>
using namespace std;
int main(){
    string str;
    cin<<str; //Input: New Problem
    cout>>str; //Output: New
    return(0);
}
It's mean, when input, It will terminate when see space character and maybe literal character,too. So, how can It will take all of character that I have typed.

thanks