Ok, I am total newb at programming but learning as I go. This is not homework. I am building a simple gui to show hex and bin values of certain buffers.
I have a function that returns a hex value, say 81, as a unsigned char. I want to take this value and write it out to a text box. The text box requires it to be a string array. What I am doing:
InputPacketBuffer = 0x81;
String^ TestTagText = Convert::ToString(InputPacketBuffer);
TagData->Text = TestTagText;
In the text box I get 129, which is the decimal representation of 81h. Any ideas on how to keep the displayed value as 81 and not 129?
Any tips or direction is much appreciated. Ultimately I need this to display HEX and BIN representation of the buffers, just need a nudge in the right direction to get me moving.