Hello nvoigt, thank's for your time and help. I find the way to rut it with std::string, but it seems a little confused. That's how it works:
It works exactly as I expected. But there's something I still see clearer: the next piece of code gives an error:
txt = "vector";
txt = "test";
for(dadesVector = vvv.begin(); dadesVector != vvv.end(); dadesVector++)
std::string strD = *(dadesVector);
The error is:
std::string vtxt = vvv.at(q);
I'm doing it in DevCpp with the MingW default compiler.
no matching function for call to `vector<basic_string<char,string_char_traits<char>,
__default_alloc_template<false,0> > > >::at (int &)'
Where can be the problem? (note: the iterator method to access to data works well, but I would like to know if that's problem of compiler, includes, I don't know whatever else...).