Remove digits in number[code] #include <iostream> #include <math.h> using namespace std; int DropLeadingDigit(int number)...
static const member initialization problemWell, the following works: [code] //constant.h const int MyArraySize = 256; //a.cpp #include "const...
static const member initialization problemI see, MyArraySize would have to be constant. Interestingly the following code also does not compile...
static const member initialization problemAh, 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