·¹º§ ÇØÅ·

 2839, 1/142 ȸ¿ø°¡ÀÔ  ·Î±×ÀΠ 
   hideroot
   http://spdjsy1210.tistory.com/
   FTZ¿¡¼­´Â ÄÚµùÀÌ ºÒ°¡´É Çմϱî?

http://www.hackerschool.org/HS_Boards/zboard.php?AllArticle=true&no=3191 [º¹»ç]


test.c:1:20: stdio.h.: ±×·± ÆÄÀÏÀ̳ª µð·ºÅ丮°¡ ¾øÀ½
test.c:3:21: uninstd.h: ±×·± ÆÄÀÏÀ̳ª µð·ºÅ丮°¡ ¾øÀ½
test.c:5:23: sys/sypes.h: ±×·± ÆÄÀÏÀ̳ª µð·ºÅ丮°¡ ¾øÀ½
test.c:6: parse error before "cahr" -> ¿ä°Å´Â ¿ÀŸ³×¿ä
test.c: In function `main':
test.c:8: `FILE' undeclared (first use in this function)
test.c:8: (Each undeclared identifier is reported only once
test.c:8: for each function it appears in.)
test.c:8: `fp' undeclared (first use in this function)
test.c:9: `argc' undeclared (first use in this function)
test.c:10: `stderr' undeclared (first use in this function)
test.c:10: `argv' undeclared (first use in this function)

ÀÌ·¸°Ô ¶ß´Âµ¥.. ÇöÁ¦ level5 ÀÔ´Ï´Ù.

  Hit : 3741     Date : 2011/04/04 06:07



    
/x7375696e6567 stdio.h. < ¸ÇµÚ¿¡ ÂÀ ºÙÀ̼̽À´Ï´Ù
uninstd.h < unistd.h
sys/sype.h < sys/type.h °¡ ¾Æ´Ò±î ÃßÃøÇØº¾´Ï´Ù
FILE À̶õ º¯¼ö¸¦ ¼±¾ðÇϼ̴ÂÁö¿ä
fp°¡ ¹»¶æÇÏ´ÂÁö ¼±¾ðÇϼ̴ÂÁö¿ä
argc ¿Í argv¸¦ ¼±¾ðÇϼ̴ÂÁö¿ä (º¸Åë int main(int argv,char argv[]) ÀÌ·±½ÄÀ¸·Î ¼±¾ðÇÏÁÒ.)
sterr À» ¼±¾ðÇÏ°í »ç¿ëÇϼ̴ÂÁö¿ä

¸®´ª½º¿¡¼­ ÄÚµùÀÌ ¾ÈµÈ´Ù´Â°Ç
ÇØÄ¿½ºÄðÀº µÇ´Âµ¥ ÇØÄ¿½ºÄðÀÇ ¸ðµç±â´ÉÀÌ ¾ÈµÈ´Ù´Â ¸Å¿ì ¿ª¼³ÀûÀΠǥÇöÀÌÁö¿ä
2011/04/04  
/x7375696e6567 ¾Æ ±×¸®±¸
·¹º§ 5¿¡¼­´Â C¾ð¾î ÄÚµùÇÒ Çʿ䰡¾ø±äÇѵ¥
À½,,
unistd.h¿Í sys/type.h¸¦ ¿Ö ÀÎŬ·çµåÇÏ´ÂÁö ÀÌÇØ°¡¾ÈµÇ³×¿ä
2011/04/04  
hideroot ů ¾ó±¼ÀÌ È­²öÇØÁúÁ¤µµÀÇ ¿ÀŸ³×¿ä .. 2011/04/04