At school we are stuck with iMacs running macOS9.1 and Codewarrior IDE 4.1.
Anyways, at home on my windows box I wrote some code where the user inputs a value, its stored in an int value, and then an array is created like so:
It compiled with no troubles on my windows box, but the mac said something about illegal constant expression I believe.
cin >> a;
Is this a quirk of Codewarrior or MacOS? And is what I did actually "legal"or did the wiindows machines just let me get away with?