0
Help Me understand the Error
So i am trying to make a code to summarize things showed in each module in c++ unfortunately There are some problems i dont know how to fix https://code.sololearn.com/cGzwess248gb/?ref=app
9 odpowiedzi
+ 3
On line 4 you have writed wrong the declaration of Module_2 function because declaration and definition must match (else compiler complain you that cannot find a valid definition)
Try to replace with:
void Module_2(int);
+ 3
Additionally, to KrOW answer, on line 22 you are using assignment operator while you need to use comparison operator, modify it as follows:
if (Life == 42){
+ 2
You are welcome 👍👍👍
+ 2
Ipang Right 👍👍👍
+ 2
👍👍👍👌
+ 2
And yes i modified the “=“ just now
Some stuff can really slip through your eyes
+ 1
Right thanks
+ 1
I got an idea to put a
“Thank you”
to those who helped
👍
+ 1
JoseMiguelRomero that wasn't even necessary, it's just a small thing, we all are here to learn and help each other learning, as a community, it's all part of learning, you are too kind : )
Thanks