Can you solve the problem of this code? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can you solve the problem of this code?

main.cpp: In function ‘void game()’: main.cpp:71:20: error: a function-definition is not allowed here before ‘{’ token 71 | void playgame(){ | ^

26th Jan 2024, 7:58 PM
Aliasghar
Aliasghar - avatar
1 Answer
+ 5
Aliasghar , it is recommended to show your complete code here, otherwise people have to guess what your issue is. > put your code in playground, save it there, create a link to this code and post this link here.
27th Jan 2024, 6:37 AM
Lothar
Lothar - avatar