Int main()? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Int main()?

Everyone I i re enter int main() I keep getting an error. how do I fix this?

8th Feb 2018, 5:20 PM
Ryan Wontz
Ryan Wontz - avatar
11 Answers
+ 1
@Ryan You're welcome bro!
8th Feb 2018, 6:48 PM
Fata1 Err0r
Fata1 Err0r - avatar
+ 7
I really respect Jakob, but.. in this tread the answer to check is the one of Martin ( he also knows his stuffs ). ... just to be correct. in the lessons it's clearly mentioned that you can have one ,and only that one , main function.
8th Feb 2018, 7:22 PM
AZTECCO
AZTECCO - avatar
+ 2
Gotcha, that makes sense why you thought that. In the future, just edit what's already there or clear the editor prior to posting your code into it. Best of luck! Sorry about delay on my end. At work right now.
8th Feb 2018, 6:42 PM
Fata1 Err0r
Fata1 Err0r - avatar
+ 2
thanks man and no problem man thanks for the help
8th Feb 2018, 6:44 PM
Ryan Wontz
Ryan Wontz - avatar
+ 1
What does "I i re" mean? Actually, post your code and I'll help you that way instead. https://www.sololearn.com/Codes/ ^Post your code there, save it, and post us the link to it.
8th Feb 2018, 5:26 PM
Fata1 Err0r
Fata1 Err0r - avatar
+ 1
I keep getting an error for the Int main() part of the code
8th Feb 2018, 5:30 PM
Ryan Wontz
Ryan Wontz - avatar
+ 1
because the first function is the one they show you and the second is me writing it
8th Feb 2018, 6:05 PM
Ryan Wontz
Ryan Wontz - avatar
0
I'll send the code but it's the basic Hello World and This is awesome code you learn in C++
8th Feb 2018, 5:29 PM
Ryan Wontz
Ryan Wontz - avatar
8th Feb 2018, 5:37 PM
Ryan Wontz
Ryan Wontz - avatar
0
I may have fixed it but I'm not sure.
8th Feb 2018, 5:38 PM
Ryan Wontz
Ryan Wontz - avatar
0
oh, I figured when it said try it yourself it meant I could re write it in the same playground.
8th Feb 2018, 6:02 PM
Ryan Wontz
Ryan Wontz - avatar