우분투로 리눅스 공부하고 있는 초짜 입니다.
대학 프로젝트 때문에 make를 이용해 컴파일을 하는데 undefined reference to 에러때매
정말 미치겠네요; 구글링을 해도 잘 모르겠고..직접 물어보려고요
코드내용:
1.전체파일(ls)
gotoxy_solution.h
screen_clear.h
kbhit.h
getch.h
solution_snake_game.h
main.c
*main.c를 제외한 모든 헤더엔 #ifndef #define #endif 가 포함되어있습니다(자기자신)
2.음.. 헤더에 포함된내용?
(1)solution_snake_game.h안에 gotoxy_solution.h , kbhit.h , getch.h 3개의 헤더가 include
(2)main.c 안에 solution_snake_game.h , gotoxy_solution.h , screen_clear.h , getch.h 4개의 헤더가 include