CString vs std::string
Posted on 2001-09-05
I am working on this project..
I thought I had the back part done (read from file into list etc...a little string manipulation)
but, now I am having to make this work with MFC
I have lots of std::string and I need to be able to translate them to CStrings and maybe even sometimes into char*
can someone give me some ideas for this, or should I not be needing to do this?
in any case, the problem is that CString doesn't seem to have a substr or a find_first_of function, both of which I was using...
I know I can do it using char, but that is supposed to be NOT the way to do it, I was using std::strings at the reccomendation of some of you all here, and know I'm stuck.
Thanks, if you need more details, let me know.