Login Page - Create Account

Support Board


Date/Time: Sun, 24 Nov 2024 18:27:57 +0000



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

[2024-05-21 09:56:13]
ycomp - Posts: 318
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