|
-
Oct 10th, 2002, 06:57 PM
#1
Thread Starter
Hyperactive Member
right()?
it hink this is the name lol, ok heres what i want.
std::hex will not display 0's if they arenot not sig, like 00000001 in hex will be dispalyed as 1, i need all of them to be displayed, how could i do that???
I know a lot oF Vb, expert in C++, and i think in assembly.
MSVC++6.NET
vb6
masm
Windowz Xp
I find my self using this a lot in C++
__asm {
}
-
Oct 10th, 2002, 07:13 PM
#2
Frenzied Member
i think cout.precision(x) only works for after decimals, but couldn't hurt to try
-
Oct 10th, 2002, 07:18 PM
#3
Thread Starter
Hyperactive Member
I know a lot oF Vb, expert in C++, and i think in assembly.
MSVC++6.NET
vb6
masm
Windowz Xp
I find my self using this a lot in C++
__asm {
}
-
Oct 11th, 2002, 05:56 AM
#4
<< setw(width) << setfill('0')
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|