Bool initialization in class
I've got a class with a private bool isScanning, and I'm trying to set it to false when initializing it in the class:
I feel so stupid for not knowing why, but why would GCC give me:
bool isScanning = false;
I could have sworn you were allowed to set a value for variables in classes, no? I know I've done it in the past...
ISO C++ forbids initialization of member `isScanning'