printf("0%x \n", 10);
But if it's greater than decimal 16 ( hex 10) then the 0%x is not needed.
|CodeGuru Home||VC++ / MFC / C++||.NET / C#||Visual Basic||VB Forums||Developer.com|
Type: Posts; User: Clark_Kent_SuperCodr
Search: Search took 0.01 seconds.
Results 1 to 1 of 1
Click Here to Expand Forum to Full Width