468,290 Members | 2,090 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,290 developers. It's quick & easy.

hexadecimal num...

hi there.....pls can any1 help me by tellin in wat way i can enter hexadecimal no. in c++....wud b vry thankful....
Aug 16 '07 #1
1 1164
Ganon11
3,652 Expert 2GB
What do you mean by enter a hexadecimal number in C++? In the code itself, I believe you can enter a hex number in the following format:

Expand|Select|Wrap|Line Numbers
  1. int x = 0x01; // hex for 1
Aug 16 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

4 posts views Thread by James DeClerk | last post: by
10 posts views Thread by pavithra.eswaran | last post: by
5 posts views Thread by Damon | last post: by
1 post views Thread by Fernando Barsoba | last post: by
15 posts views Thread by jaks.maths | last post: by
8 posts views Thread by Vijay | last post: by
7 posts views Thread by elliotng.ee | last post: by
5 posts views Thread by Just D | last post: by
6 posts views Thread by Andrea | last post: by
6 posts views Thread by sweeet_addiction16 | last post: by
2 posts views Thread by MrBee | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.