+ 7
'undefined reference to `main' collect2: error: ld returned 1 exit status'
This error is coming when I am trying to run my programs of C and C++ in laptop. But they are working when I am running them on the phone. Moreover, in python there is 'no output' in laptop but it is working on the phone. What can I do to get rid of this error? My projects are correct but I am unable to run them on laptop. Do I have to change the settings??? Please help!!!!!
5 Answers
+ 5
MC Ritnem $tan There is problem in every code, although it is correct.
+ 5
Martin Taylor you are right now it's working on laptop!!!
+ 4
Can you please share your code of c++??
+ 4
Which one???
+ 2
Browser version isn't working ,I tried last night for python and it gave no output ,you can mail sololearn for the issue:-)