How can I get the size of input from the console using C++?
05:15 04 Feb 2011

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.

c++ iostream