I’m currently using C Builder:
DWORD finalAddress = 0xFFFFFFFF; TListItem *ListIt; ListIt->Caption = finalAddress;
This will output:
4294967295 (which is 0xFFFFFFFF in DEC)
I want it to show 0xFFFFFFFF.
How do I do that?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Assuming that you have access to C++ standard library, try this:
This last assignment may not work – I do not have access to Embarcadero’s headers, so I have no idea what’s the type of
ListIt->Caption. There may be need to perform additional conversion.