In MSVC++ 6.0,
I have lines similar to :
I get "Error: overloaded operator not found" related to "reallylongstr[counter]." I try reallylongstr[2] in my watch window and get the same error.Code:std::string reallylongstr; reallylongstr = passed_parm; //set counters while (!isalpha(reallylongstr[counter]) && (counter <= maxlen)) { tempword = tempword + (*p).substr(counter, 1); counter++; std::cout<<tempword; }
Ideas?