URGENT: Simple STL Question
Posted on 2003-10-24
I have no idea how to use STL. So, I'm looking for a basic tutorial if anyone can point me to one, that would be great.
In particular, I wish to print out the following list<string> that I have, one at a time:
What is i in this for loop?
for (list<string>::const_iterator i=profiles.begin(); i!=profiles.end(); i++)
//I want to get pointers to normal char* in here for each profile name that is profiles.
I have a routine DebugBox(LPSTR str) that prints out the debug, how can I get a LPSTR out of the string?