| Latest posts: | convert a std::string to const char* Ganado Thank you very much for the clarification and explanation. I understand, but I do not know wh... convert a std::string to const char* i use string because , i read lines from txt like this file name pattern.txt [code] 55 ?? ?? ?? ??... convert a std::string to const char* [code]I am assuming the second instance is just a typo[/code] Yes, it was a typo and I fixed it now. convert a std::string to const char* i use this code working good [code] const char* SPattern{ "\x55\x00\x00\x00\x00\x00\x00\x0... run tasklist in c++ thanks all so much , solved |