(error LNK2019:) ( fatal error LNK1120: 1 unresolved externals)


Sorry for bothering again

Could you show your PlayGame function?
Also I highly suggest you fix your indentation which makes your code much easier to read.

Sorry I read that message wrong. Your PrintIntroduction function

And the definition for that?

In my course they didn’t mention to define it

It was already defined. It was just changed from

void PrintIntroduction()

To

void PrintIntroduction(int)

Ok then what should to clear the error

Define it. Restore what you had previously then make it take an int instead of nothing as a parameter

I have already done it

Where? In the screenshot you provided you only declared it not defined it.

You’ve only said what it is not what it does.

Privacy & Terms