Why did we get an error before copy and pasting all the “using int32 = int;” into all the files? Shouldn’t “#include” include the using int32?
Since the alias (“using int32”) was written in “main.cpp”, it is not included in the header file and corresponding .cpp file as well.
If the lecturer only put the “using” statement in the FBullCowGame.h file only, it would have worked since it is "#include"d in both the other files (although Ben writes the statement in all the files for clarity).
Similar question here @Owen_Barbara . But do we absolutely need it in the .cpp files if it is already in the .h they are including? It seems a bit redundant.
Is it strictly for clarity and to make sure we don’t accidentally reuse a using somewhere else by mistake? That I could see.