D
Daniel Moree
I have a program that uses getline() to read a line from a file.
It's doing this for an INI file reader. I'm trying to get the line
parser function to remove the comments from each line if there are some.
I've got this done using: std::string. I need to cast it from
std::string(basic string) to a CString(LPCTSTR). When I use String.c_str
function, it won't cast it to an LPCTSTR, i've also tried a nonconstant
version: LPSTR.
Any help would be appreciated!
It's doing this for an INI file reader. I'm trying to get the line
parser function to remove the comments from each line if there are some.
I've got this done using: std::string. I need to cast it from
std::string(basic string) to a CString(LPCTSTR). When I use String.c_str
function, it won't cast it to an LPCTSTR, i've also tried a nonconstant
version: LPSTR.
Any help would be appreciated!