03-03-2004
I found that you can use the WCHAR with the setfill() manipultor, hence:
wcout<<setfill<WCHAR>(' ')<<setw(42)
will compile and work fine.
4 More Discussions You Might Find Interesting
1. Programming
Hello,
If i have 2 strings str1 and str2, i would like to copy/concatenate str2 to str1, from 1st bit leaving the 0th bit.
How do i do it? (2 Replies)
Discussion started by: jazz
2 Replies
2. UNIX for Advanced & Expert Users
Hi.
I need to migrate the whole unix environment from a Unix mp-ras 32 bit to a Linux Suse 64 bit.
1) can i use cpio to copy the data?
2) can i just copy the users from unix to linux or do i have to create them by hand
3) are there any other concerns i should worry about?
thanx (1 Reply)
Discussion started by: mrodrig
1 Replies
3. Shell Programming and Scripting
Hi,
Here is the issue. From the program snippet I have Base: 0x1800000000, Size: 0x3FFE7FFFFFFFF which are of 40 and 56 bits. SO I used use bignum to do the math but summing them up I always failed having correct result.
perl interpreter info,
perl, v5.8.8 built for... (0 Replies)
Discussion started by: rrd1986
0 Replies
4. Windows & DOS: Issues & Discussions
Hello everyone.
I bought a dell laptop (XPS M1330) online which came without a hard drive. There is a Windows Vista Ultimate OEMAct sticker with product key at the bottom case. I checked dell website (here) for this model and it says this model supports both 32 and 64-bit version of Windows... (4 Replies)
Discussion started by: milhan
4 Replies
LEARN ABOUT REDHAT
glstencilmask
GLSTENCILMASK(3G) GLSTENCILMASK(3G)
NAME
glStencilMask - control the writing of individual bits in the stencil planes
C SPECIFICATION
void glStencilMask( GLuint mask )
PARAMETERS
mask Specifies a bit mask to enable and disable writing of individual bits in the stencil planes. Initially, the mask is all 1's.
DESCRIPTION
glStencilMask controls the writing of individual bits in the stencil planes. The least significant n bits of mask, where n is the number
of bits in the stencil buffer, specify a mask. Where a 1 appears in the mask, it's possible to write to the corresponding bit in the sten-
cil buffer. Where a 0 appears, the corresponding bit is write-protected. Initially, all bits are enabled for writing.
ERRORS
GL_INVALID_OPERATION is generated if glStencilMask is executed between the execution of glBegin and the corresponding execution of glEnd.
ASSOCIATED GETS
glGet with argument GL_STENCIL_WRITEMASK
glGet with argument GL_STENCIL_BITS
SEE ALSO
glColorMask(3G), glDepthMask(3G), glIndexMask(3G), glStencilFunc(3G), glStencilOp(3G)
GLSTENCILMASK(3G)