My question that I've been stuck on for a while is how can i add "0x" in front of a number without changing the actual number itself.
In VC++ using namespace System It can be done like so..
int Number = 123456;
txtNumber->Text = Number.ToString("X8")
txtNumber->Text will show "0x123456".
But i want to do that exact thing without using the namspace System, and System::String.
and one more thing instead of having the number displayed into "txtNumber->Text" I'd rather have it be put back into "int Number". So each time i use "Number" it'll equal "0x123456".
Thanks for your help.