Login Page - Create Account

Support Board


Date/Time: Sun, 27 Oct 2024 10:43:05 +0000



Post From: [ACSIL] Best way(s) to convert any data to SCString or string

[2024-05-21 09:56:13]
ycomp - Posts: 312
for future reference:

I guess this should work (scs being an SCString)

std::string s{ scs.GetChars() }; // maybe you don't even need the .GetChars()?

or

auto s = scs.GetChars(); //for const char *
Date Time Of Last Edit: 2024-05-21 09:58:06