Hello, having an issue with the last section of the TripleX game code:
I’m following the video for the random numbers part, typing in:
std::cout >> rand() % 2 “\n”;
And keep getting this error when I compile:
triplex.cpp:56:12: error: expected ‘;’ after expression
“\n;”
^
;
triplex.cpp:56:7: warning: expression result unused [-Wunused-value]
“\n;”
^~~~~
1 warning and 1 error generated.
Anybody got any ideas?
Thank you