구름을 처음 사용하는데 기본적인 출력에서도 에러가 뜹니다 도와주십시오
-
#include <stdio.h>
int main(void)
{
printf("Be happy");
printf("My friend");return 0;
}
이런식으로 오류가 뜹니다
root@goorm:/workspace/3# cd "/workspace/3/src" && gcc "main1.c" -o /tmp/curre
nt_output && /tmp/current_output; rm -f /tmp/current_output
/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/Scrt1.o: In functio
n_start': (.text+0x20): undefined reference to
main'
collect2: error: ld returned 1 exit status -
현재파일 실행 기능을 이용하여도 오류가 출력되는지 확인해주시겠어요~?
-
main1.c가 제가 만들것에서는 오류가 뜨고 main.c기존에서 hello groom 을 다른 용어로 바꾸어도 hello groomd이라고 뜹니다
컴퓨터는 군대 컴퓨터사용중입니다
-
-
안녕하세요.
어떤 스택에서 어떻게 실행하셨는지 알려주신다면, 답변에 도움이 될 것 같습니다.
혹은 공유링크 남겨주시면 확인해보겠습니다.
감사합니다
SUGGESTED TOPICS
-
각종 import 안됨
구름IDE 관련 • • 한현진