Complier window saying "expected primary-expression before ')' token"

Be that as it may, a paren instead of curly brace will cause exactly the error message you posted. Though in a different place

Good Luck,
John