Doxygen/°ÁÂ02
Â÷·Ê ¶2. hello.c ºÐ¼® ¶
/**
@file hello.c @brief hello world ¼Ò½ºÆÄÀÏ. */ #include <stdio.h> /** @brief hello Main ÇÔ¼ö. @return ¼º°ø¿©ºÎ. */ int main( int argc, /**< ÀÎÀÚ°³¼ö */ char * argv[] /**< ÀÎÀÚ */ ) { printf("Hello World\n"); return 0; } 2.1. Doxygen ÁÖ¼®ÀÇ ½ÃÀÛ°ú ³¡ ¶ÀϹÝÀûÀ¸·Î DoxygenÀº ÁÖ¼®À» °¡Áö°í ¹®¼È¸¦ ÇÑ´Ù.
±×·¯¹Ç·Î ÀϹÝÁÖ¼®°ú DoxygenÁÖ¼®À» ±¸ºÐÇØ¾ß Çϴµ¥ À̰Ͷ§¹®¿¡ C¾ð¾î¿¡¼´Â /* */ : ÀϹÝÁÖ¼® /** */ : DoxygenÁÖ¼® ÀÌ·¸°Ô ¾²ÀÌ°í ÀÖ´Ù. ±×·¯¹Ç·Î Doxygen¹®¼È¸¦ ÇϱâÀ§Çؼ´Â /** */ ¾È¿¡ ÁÖ¼®À» ´Þ¾Æ¾ßÇÑ´Ù. ¹°·Ð C ¾î ÀϹÝÁÖ¼®Àº Doxygen¿¡¼ ¹«½ÃµÈ´Ù. 2.2. File ¶ÆÄÀÏÀ» ¼³¸íÇϱâ À§ÇÑ Doxygen ÁÖ¼®ÀÌ´Ù.
hello.c ¿¡¼´Â ¾Æ·¡ÀÇ °Íµé¸¸ ¾²¿´´Âµ¥ ±×¿Ü ¿©·¯°¡Áö°¡ ÀÖ´Ù.
/**
@file hello.c @brief hello world ¼Ò½ºÆÄÀÏ. */ |
Your mode of life will be changed for the better because of new developments. |