Description:
The object-oriented C++ language.
|
|
|
invalid conversion
|
| |
Hi aren't those two pointers? What is my fault? Thanks Michael ------ invalid conversion from ‘void*’ to ‘OpenGLWaveFrontMaterial::Vert exTextureIndex*
|
|
new an array of pointers
|
| |
Hi, ---------- int **p = new int *[30]; //OK int **p = new (int) *[30]; //ERROR int **p = new (int*)[30]; //ERROR ---------- Any difference between them?
|
|
C++ code for parsing syllables?
|
| |
I'm pulling my hair out trying to figure out code for parsing and counting syllables in simple English sentences. Can someone throw the dog a bone on where to start?
|
|
SIGKILL
|
| |
Hi There, I had to add a certain portion of code to an application which had been considered to run stable (bewfore my addition). Now the QA guy came back to me saying that he's seeing a SIGKILL after a while (several hours) since my code addition. The code I added simply writes a string (PIDMessageBuf - declared private) and a at runtime generated... more »
|
|
VS 2005 died on template (part II)
|
| |
template <class T> void S(){ T t; } struct A{ A(){} }; // died //struct A{ ~A(){} }; // died //struct A{void a(){}}; // not died void kill(){ struct B{A a;}; S<B>(); ...void bill(){ struct B{A a;}; S<B>();
|
|
VS 2005 compiler died on template (part I)
|
| |
template <int i> struct Factorial { enum { N = i<=0? 1 : i*Factorial<i-1>::N }; ...template <> struct Factorial <-500> { enum { N = 1 }; }; const int factorial=Factorial<5>::N;
|
|
|