When I try to read string s
with s.length() ~ 10000
with this code below. My output is 4094. How can I increase input buffer size?
string s;
cin >> s;
cout << s.length();
When I try to read string s
with s.length() ~ 10000
with this code below. My output is 4094. How can I increase input buffer size?
string s;
cin >> s;
cout << s.length();