From 6ed9a9699997a2853ec1c9e91747c251e5cfc97b Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Sun, 15 Jun 2014 03:50:43 +0200 Subject: damn --- ccc/stringstream.cc | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 ccc/stringstream.cc (limited to 'ccc/stringstream.cc') diff --git a/ccc/stringstream.cc b/ccc/stringstream.cc deleted file mode 100644 index 3d68db3..0000000 --- a/ccc/stringstream.cc +++ /dev/null @@ -1,26 +0,0 @@ -#include -#include -#include -#include -#include -#include - -using namespace std; - - -int main(void) { - string s = "1 2 3 4"; - int i; - vector j; - stringstream ss(s); - while (ss >> i) { - j.push_back(i); - cout << i << endl; - } - - printf("%4d %4d %4d %4d\n", j[0], j[1], j[2], j[3]); - - cout.width(100); - cout << setw(100) << j.size() << endl; -} - -- cgit v1.2.3