Oct 2, 2014 at 11:09pm
The compiler is giving me an error: iso c++ forbids initialization of member 'raceFinish'. Is there anything I'm not doing here?
1 2 3 4 5 6 7 8 9
|
#include <iostream>
#include <time.h>
#include <cstdlib>
using namespace std;
|
Last edited on Oct 4, 2014 at 12:44am
Oct 3, 2014 at 12:06am
That kind of initialization wasn't part of C++ until C++11. Look into enabling that, or initialize in the constructors