Remove digits in number[code]
using namespace std;
int DropLeadingDigit(int number)...
static const member initialization problemWell, the following works:
const int MyArraySize = 256;
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