Get an error setting the difficulty in Triple X

I get an error when compiling…

Section 2, video 30 Generating Random Numbers 8:25


Nevermind, I fixed the problem.

That is not the fix, 0 should be returned from main on line 75 of your screenshot and LevelDifficulty should be initialised with a value

int LevelDifficulty = 2;

main should have no parameters

Privacy & Terms