adkt
9/17/2014 - 9:49 PM

Read whitespace as a string

#include <iostream>
#include <string>

using namespace std;

int main()
{
	string myString;
	getline(cin, myString);
	cout << myString.size() << endl;
}