error: expected unqualified-id error: Meaning and fix? [duplicate]
As stated by @user657267 get rid of the semicolons when declaring a function and its implementation. If you were to have above the main and the implementation of that function below the main That would be ok. The implementation can also go above the main and then you don’t have to write the first line … Read more