Support Board
Date/Time: Fri, 23 May 2025 14:45:34 +0000
Post From: C++ std::string to SCString
[2020-08-26 12:06:11] |
User907968 - Posts: 840 |
You could use string::c_str function - https://www.cplusplus.com/reference/string/string/c_str/ Also, give the SCString objects different names to the std::string objects. SCString sDate = date.c_str();
or SCString sDate(date.c_str());
|