List:MySQL++« Previous MessageNext Message »
From:Joachim Person Date:March 14 2005 7:11pm
Subject:Data types - especially strings
View as plain text  
Having the following code

 

            std::vector<CString> retV;

            Result::iterator iter;

            Row row;

            for (iter = result.begin(); iter != result.end(); ++iter) {

                         row = *iter;

 
retV.push_back(CString(row[TABLE_NAME_SERVICE_COL_NAME_NAME]));

            }

 

 

only gives me one letter as result. So this seems wrong. How do I get the
full string?

 



Thread
Data types - especially stringsJoachim Person14 Mar
  • Re: Data types - especially stringsChris Frey14 Mar
  • Re: Data types - especially stringsChris Frey14 Mar
    • Re: Data types - especially stringsEarl Miles14 Mar