Search:
Namespaces
Discussions
.NET v1.1
Feedback
Decimal or String Covert to Hex Value
Messages
Related Types
This message was discovered on
microsoft.public.dotnet.languages.vc
.
Post a new message to this list...
Michael Chong
Any idea that I can convert a value of type Decimal or String into Hex value
in MFC VC++.NET?
I know there is a function hex(std::ios_base&), but I don't know how to
ultilise it in MFC as I only know in console mode.
TQ
Michael.
Reply to this message...
Julie
Michael Chong wrote:
[Original message clipped]
_itoa(value, dest, 16)
or
wsprintf(dest, "%X", value)
Reply to this message...
Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us
-
Terms of Use
-
Privacy Policy
-
www.dotnet247.com