I get this error when i compile it after adding the PG function

Why don’t you paste the indicated lines of your cpp file (37, 51, 57). A screen cap of the surrounding code might be better but include line numbers with the screencap. My guess is either a mismatched {} or you’ve not added the classname in front of a function implementation somewhere.

I suspect you are defining a function inside of another function due to mismatched braces as @myrhillion described.

there was an error in my code i was having 1 unmatched “{” and i was using the input function in side the process guess function instead of using guess

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms