|
Colored bitmaps in Visual C++ I am using Visual C++ to write a simple computer game, using bitmap images. However, I can only use 16 colors in a given bitmap. If I try to import a bitmap from Paint, which has (say) 256 colours, Visual C++ always reduces the palette down to 16 colors, often ruining the image. Is there any way to tell Visual... 5 Jan 2008 10:34
Optimizing C/C++ Code. Timmy wrote: Hi!! First let me say I'm not really a C/C++ programmer. I can write some advanced string code and write calculators etc, very basic stuff. There are as many C/C++ programmers as there are unicorn jockeys, both being mythical creatures. My question is about C/C++ optimization and CF... 4 Jan 2008 12:55
edit c-string passed as a parameter Rui Maciel said: I want to convert the text contained in a c-string but I'm not getting much success. I've tried the following function: int test(char *input, char *output); This doesn't really tell us much. What storage do you have, what is the content of the input, and what manipulations are you t... 2 Jan 2008 20:33
[C] edit c-string passed as a parameter I want to convert the text contained in a c-string but I'm not getting much success. I've tried the following function: int test(char *input, char *output); I'm able to read the information to the function but it isn't possible to access the modifications done to output from outside the function. So, what do I... 2 Jan 2008 10:00
Sorting STL lists Hi, I've an STL list of pointer pointing to some objects: list< MyObject* > myList The class "MyObject" has a public method string getString() const; which returns for each object its (unique) string ID. Furthermore, I've a list of strings list< string > orderedList; What I want to achieve now i... 3 Jan 2008 21:35
M,I.5'Pers ecution , harassm ent at wo rk -=-=-=-=-=-=-=-=-=-=-=-= -= harassment at. work -= -=-=-=-=-=-=-=-=-=-=-=-= Once. I stopped watching television and listening to the radio at the end of 1990, "they" had. to find other ways of committing abuses. So they took what must be for them a tried and tested route; they get at you. by subversion of those... 2 Jan 2008 06:01
M,I-5'Persecution ' w hy t he s ecurity service s? -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= -= why. the security services? -= -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= You may ask, why do I. think the "they" referred to are the security services? Is there any evidence that there is a. single source, as opposed to a loosely based "whispering campaign" amongst many. people? Even i... 2 Jan 2008 04:54
M,I.5'P ersecution , why the secur ity servic es? -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= -= why the. security services? -= -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= You may ask, why do I think the "they". referred to are the security services? Is there any evidence that there is a. single source, as opposed to. a loosely based "whispering campaign" amongst many people? Even i... 2 Jan 2008 04:54
M-I'5`Persecut ion ` thei r methods and tacti cs -=-=-=-=-=-=-=-=-=-=-=-=-=-=-= -= MI5: methods and. tactics -= -=-=-=-=-=-=-=-=-=-=-=-=-=-=-= They deliberately set out to. harass in a way that would resemble the symptoms of schizophrenia, so that any report of the harassment. would be taken. as indicating mental illness and "treated" accordingly. They never ... 2 Jan 2008 03:15
why minus by one i found this function in the c programming language 2nd edition p187 i do not know the sentence " nunits = (nbytes+sizeof(Header)-1)/sizeof(header) + 1;", should minus by one.any help will be appreciated ,the function as below static Header base; /* empty list to get started */ static Header *fre... 7 Jan 2008 11:10 |