kriscross07 / atom-gpp-compiler

An atom package that allows you to compile and run C++ and C within the editor.
https://atom.io/packages/gpp-compiler
80 stars 228 forks source link

Everytime I try to run a program it shows this error #353

Open akshar2001 opened 4 years ago

akshar2001 commented 4 years ago

C:\Users\Akshar Vaish\Documents\cpp\a.c\ak.c: In function 'main': C:\Users\Akshar Vaish\Documents\cpp\a.c\ak.c:5:3: warning: implicit declaration of function 'returm' [-Wimplicit-function-declaration] 5 | returm(0); | ^~ c:/mingw/bin/../lib/gcc/mingw32/9.2.0/../../../../mingw32/bin/ld.exe: C:\Users\AKSHAR~1\AppData\Local\Temp\ccyOj4vi.o:ak.c:(.text+0x22): undefined reference to `returm' collect2.exe: error: ld returned 1 exit status

IgorSilvestre commented 3 years ago

You need to debug your code, it has some erros, for example, the complier is showing you that you wrote "returm" instead of 'return', maybe take a look and correct that.