Åͺ¸ C ÄÄÆÄÀÏ·¯°¡ Àß ÀÛµ¿µÇÁö ¾ÊÀº °æ¿ì
I. Åͺ¸ C¿Í Visual C++ »ç¿ë½Ã Â÷ÀÌÁ¡
1. ÆÄÀÏ¸í ¹®Á¦
ÀÛ¼ºÇÑ ÇÁ·Î±×·¥ÀÇ À̸§ÀÇ È®ÀåÀÚ°¡ .c À̾î¾ß ÇÔ. (NOT .cpp)
[ÀÌÀ¯] C ÇÁ·Î±×·¥Àº .c, C++ ÄÄÆÄÀÏ·¯´Â .cpp
2. ÁÖ¼®¹®(comment) ¹®Á¦
"//" ·Î ½ÃÀ۵Ǵ comment´Â "/* ... */" ÇüÅ·Π¼öÁ¤ÇØ ÁÖ¾î¾ß ÇÔ.
[ÀÌÀ¯] C++ ÄÄÆÄÀÏ·¯´Â "//" comment¸¦ Çã¿ëÇÏÁö¸¸,
C ÄÄÆÄÀÏ·¯´Â "//"¸¦ Çã¿ëÇÏÁö ¾Ê´Â °æ¿ì°¡ ÀÖÀ½.
II. Åͺ¸ C ÄÄÆÄÀÏ·¯ ¼³Ä¡½Ã ÁÖÀÇ»çÇ×
1. Turboc.cfg, Tlink.cfgÀÇ ³»¿ë È®ÀÎ
(Åͺ¸ C ÄÄÆÄÀÏ·¯°¡ ¼³Ä¡µÈ µð·ºÅ丮 TC¿¡ ÀÖÀ½)
Turboc.cfg, Tlink.cfg¿¡ INCLUDE¿Í LIB µð·ºÅ丮¸¦
¼³Á¤ÇÏ°Ô µÇ¾î ÀÖ´Ù. 2 ÆÄÀÏÀÇ ³»¿ëÀ» editor·Î º¸¸é,
"C:\TC\INCLUDE", "C:\TC\LIB"°ú °°ÀÌ "-I" ¶Ç´Â "-L"
µÚ¿¡ ÇØ´ç µð·ºÅ丮 °æ·Î°¡ ¸í½ÃµÇ¾î ÀÖ´Ù.
Turboc.cfg
......
-IC:\TC\INCLUDE
-LC:\TC\LIB
Tlink.cfg
-LC:\TC\LIB
À§ ³»¿ëÀº Åͺ¸ C¸¦ "C:\"¿¡ ¼³Ä¡ÇÑ °æ¿ìÀÌ´Ù.
2. Turboc.cfg, Tlink.cfgÀÇ ³»¿ë ¼öÁ¤
À§ 2 ÆÄÀÏÀÇ INCLUDE, LIB °æ·Î¸¦ Åͺ¸ C°¡ ¼³Ä¡µÈ
Á¤È®ÇÑ °æ·Î·Î ¼öÁ¤ÇÑ´Ù.
¿¹) C:\utiltity\tc À§Ä¡¿¡ ¼³Ä¡ÇÑ °æ¿ì ¾Æ·¡¿Í °°ÀÌ ¼öÁ¤
(INCLUDEÀÇ °æ·Î´Â C:\utility\tc\includeÀÌ´Ù)
Turboc.cfg
......
-IC:\utility\TC\INCLUDE
-LC:\utility\TC\LIB
Tlink.cfg
-LC:\utility\TC\LIB