Support Board
Date/Time: Wed, 01 May 2024 18:36:15 +0000
Post From: C++ std::string to SCString
[2020-08-26 12:06:11] |
User907968 - Posts: 802 |
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());
|