• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

is there an easy library function that lets you change from decimal to octal and hexadecimal?

Originally posted by: RobDowneyJr
change a decimal (base 10) to hexidecimal (base 16) or octal (base 8)

those are just numerical notations. a c++ variable is not bound to any particular notation. i'm assuming you want to display a numerical value in one of those notations, so check out the documentation for printf() and its derivatives.
 
Originally posted by: notfred
Why don't people ever say what language they're trying to do things in?

i think that's the least wrong with his post. if i ever formulated a problem like this, i would probably get fired the same day.
 
Back
Top