User Profile

Collapse

Profile Sidebar

Collapse
wackieboy
wackieboy
Last Activity: Apr 22 '13, 03:46 PM
Joined: Apr 17 '13
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • wackieboy
    replied to Convert Char variables to string C++
    in C
    Instead of showing actual characters in the label, it just shows the ASCII value of the first character.
    See more | Go to post

    Leave a comment:


  • wackieboy
    replied to Convert Char variables to string C++
    in C
    Yes it's with visual C++, so the combination of the two I guess
    See more | Go to post

    Leave a comment:


  • wackieboy
    replied to Convert Char variables to string C++
    in C
    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 reply
    See more | Go to post

    Leave a comment:


  • wackieboy
    started a topic Convert Char variables to string C++
    in C

    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),
    ...
    See more | Go to post
    Last edited by wackieboy; Apr 17 '13, 04:18 PM. Reason: Code had been displayed as text
No activity results to display
Show More
Working...