>> Edit article
이름
제목
패스워드
main() { void *shared_memory =(void *)0; char *text; int shmid; char key_t; shmid=shmget((key_t)7530,sizeof(text),0666|IPC_CREAT); if(shmid==-1){ fprintf(stderr,"shmet failednn"); exit(-1); } } 이게 소스 입니다. gcc -o test test.c 이렇게 했는데도 에러가 마구 나오네요 --; 어디가 문제일까요?? [level10@ftz .m]$ gcc -o test test.c test.c: In function `main': test.c:8: parse error before `7530' test.c:10: `stderr' undeclared (first use in this function) test.c:10: (Each undeclared identifier is reported only once test.c:10: for each function it appears in.) test.c:13: parse error at end of input 이렇게 나오는군요 -.-;; 아아악 짜증 .`' 컴파일 방법이 틀렸나요? 그럼 어떻게 하나요??--켁;;
Copyleft
1999-2026 by
JSBoard Open Project
Theme Designed by
IDOO
All right reserved