Answer the question
In order to leave comments, you need to log in
How to convert std::string to LPCSTR?
I'm doing a coursework and I need to pass a std::string. To make another task easier, I want to create a folder, but CreateDirectoryA() takes an LPCSTR, not a std::string. How can I convert std::string to LPCSTR?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question