string GetID(string s) { string::size_type t1 = s.find_first_of(" "); string s1 = s.substr(0, t1); return s1; } int _tmain(int argc, _TCHAR* argv[]) { run(); return 0; }