I am fairly new to C++, & I'm starting to learn threading.
The official error I'm getting is:
Expected primary-expression before '.' token.
I am using Code::Blocks, GNU GCC Compiler with c++17
Here is the code snippet of where I the error is happening:
1 2 3 4 5 6
|
// Download and check if the license has expired . . .
printf(BWHT " Loading . . . ");
std::thread animation(loadingAnimation);
while(!thread.joinable){ loadingAnimation(); }
animation.join();
ReadKEY();
|
while(!thread.joinable){ loadingAnimation(); }
--------------^
If anybody could help me that would be great, thank you very much in advance!
Last edited on
AH yes! Thank you so much for helping me my friend!