User Profile
Collapse
-
Instead of showing actual characters in the label, it just shows the ASCII value of the first character. -
Yes it's with visual C++, so the combination of the two I guessLeave a comment:
-
It's C++, though I don't have the code available to test it. Also, what would the syntax be to put multiple char variables into the string/stringstream together in one command? Also, I'm fairly new to programming overall, and I'm not entirely sure what you meant about string being String. Thanks for the replyLeave a comment:
-
Convert Char variables to string C++
I need to find some sort of method to convert a series of char variables to a string, to be shown in a label. I've searched for two days and experimented myself just as long, and the closest I've gotten simply puts ASCII values into the string with the following command:
...Code:label1 -> Text = System::Convert::ToString(fdp8), System::Convert::ToString(fdp7), System::Convert::ToString(fdp6), System::Convert::ToString(fdp5), System::Convert::ToString(fdp4),
No activity results to display
Show More
Leave a comment: