How can I get the size of input from the console using C++?
How would you get the size input string from the console or the size of valid characters in the buffer?
char buffer[100];
cin >> buffer;
I'm looking to put the \0 where the input ends.