[Solved] C and C++ : data file with error “Expected unqualified-id” [closed]

OP here. These are the steps I took to resolve my issue, based on the last edit of my question: With the separate files, as given in my question, the error was Expected identifier in mscmix_dat.c. Per @LightnessRacesinOrbit’s suggestion, I consolidated the multiple main.cpp, msclib.h, msclib.c, and mscmix_dat.c files into two files: main.cpp and msclib.c, … Read more