while( getline( x, s1 ) ) { string s2=s1.str() strtok( s2, seps ); }
hw2.cpp:57: error: request for member 'str' in 'st', which is of non-class type 'char [1]' hw2.cpp:66: error: cannot convert 'std::string' to 'char*' for argument '1' to 'char* strtok(char*, const char*)' hw2.cpp:59: warning: unused variable 'cstr1'
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)