User profile: mario0815

User info
User name:mario0815
History
Joined:
Number of posts:15
Latest posts:

Remove digits in number
[code] #include <iostream> #include <math.h> using namespace std; int DropLeadingDigit(int number)...

static const member initialization problem
Well, the following works: [code] //constant.h const int MyArraySize = 256; //a.cpp #include "const...

static const member initialization problem
I see, MyArraySize would have to be constant. Interestingly the following code also does not compile...

static const member initialization problem
Ah, the -pedantic-errors command ADDS pedantic errors and doesn't remove them! Didn't get that right...

static const member initialization problem
@Cubbi: I tried adding the command but the last example still doesn't compile.

This user does not accept Private Messages

User: mario0815

  • Public profile