Understanding the Expected Primary Expression Before ')' Token Error in C++