Scintilla icon ChSciTE

Home
´Ù¿î·Îµå
¹¯°í´äÇϱâ
¼³¸íÀÚ·á
Áö¿ø¾ð¾î
Awards
ChSciTE in English

ChSciTE °ü·Ã ÀÚ·á

ChSciTE´Â Ch¿¡¼­ Á¦°øÇÏ´Â C/Ch/C++ ÇÁ·Î±×·¥À» ÆíÁýÇÏ°í ½ÇÇàÇÏ´Â ÅëÇÕ°³¹ßȯ°æ(Integrated Development Environment) ÇÁ·Î±×·¥ÀÌ´Ù. Ch ´Â ÀÎÅÍÇÁ¸®ÅÍ ¹æ½ÄÀÇ C/C++·Î¼­, Unix ¿¡¼­¿Í °°Àº cross-platform ½ºÅ©¸³Æ® ÇÁ·Î±×·¡¹Ö, ½© ÇÁ·Î±×·¡¹Ö, 2D/3D plotting ÇÁ·Î±×·¡¹Ö, ¼öÄ¡Çؼ® ±×¸®°í ÀÓº£µðµå ½ºÅ©¸³Æ® µîÀ» Áö¿øÇÏ°í ÀÖ´Ù. ChSciTEÀÇ »ç¿ëÀÚ ÀÎÅÍÆäÀ̽º´Â ÇöÀç 30¿©°³ ÀÌ»óÀÇ »ç¿ë ¾ð¾î Áï, µ¶¾î, ÇÁ¶û½º¾î, Áß±¹¾î, Çѱ¹¾î ¹× ÀϺ»¾î µî¿¡¼­ »ç¿ëÇÒ ¼ö ÀÖ´Ù.

½ÃÀÛÇϸ鼭

ChSciTE´Â ´ÙÀ½ÀÇ chscite ¸í·É¾î·Î ½ÇÇàÇÒ ¼ö ÀÖ´Ù. À©µµ¿ì ȯ°æ¿¡¼­, ¶ÇÇÑ ChSciTE´Â ¹ÙÅÁÈ­¸éÀÇ ¾ÆÀÌÄÜÀ» Ŭ¸¯Çؼ­ ½ÇÇàÇÒ ¼ö ÀÖ´Ù.



À©µµ¿ì ȯ°æÀÇ ¹ÙÅÁÈ­¸é¿¡ ÀÖ´Â ChSciTE ¾ÆÀÌÄÜ

¸¸ÀÏ ChSciTE°¡ ½ÇÇàµÇ¸é, À©µµ¿ì È­¸éÀÌ ´ÙÀ½ ±×¸² 2¿Í °°ÀÌ ³ªÅ¸³ª¸ç µµ¿ò¸»ÀÌ ÇÊ¿äÇϸé Á¦¸ñÇ¥½Ã ÁÙÀÇ µµ¿ò¸» ¡æ ChSciTE Help¸¦ Ŭ¸¯ÇÏ¸é µÈ´Ù. When the ChSciTE is launched, its graphical user interface will appears as in

ChSciTE Help

Figure 2: Get on-line help on how to use ChSciTE.

C/Ch/C++ ÇÁ·Î±×·¥ÀÇ ÆíÁý°ú ½ÇÇà

ChSciTE¿¡¼­ÀÇ ¹®¼­ÀÛ¾÷Àº ¸ÅŲÅä½Ã³ª À©µµ¿ì¿¡¼­ Á¦°øÇÏ°í ÀÖ´Â ¿öµåÆе峪 ¸Þ¸ðÀå°ú ¾ÆÁÖ À¯»çÇϸç, ¿©±â¿¡ ChSciTE´Â ¿©·¯ ÆÄÈ­ÀÏÀ» µ¿½Ã¿¡ ¿­ ¼ö ÀÖÀ¸¸ç, ´ÜÁö 1°³ÀÇ È­Àϸ¸ º¼ ¼ö ÀÖ°í, µ¿½Ã¿¡ ÃÖ´ë 20°³ ÆÄÀÏÀ» ¿­ ¼ö ÀÖ´Ù. ÆÄÀÏÆíÁý¿¡¼­ BlockÀº, À©µµ¿ì¿¡¼­´Â AltÅ°¸¦ GTK+¿¡¼­´Â CtrlÅ°¸¦ ´©¸¥ »óÅ¿¡¼­, ¸¶¿ì½º¸¦ ÀÌ¿ëÇÏ¿© ¼³Á¤ÇÒ ¼ö ÀÖ´Ù.

ChSciTE¿¡´Â µÎ °³ÀÇ ÇÁ·Î±×·¥À» ÆíÁýÇÒ ¼ö Àִ â°ú Ãâ·ÂÀ» À§ÇÑ Ã¢ÀÌ ÀÖÀ¸¸ç, Ãâ·ÂÀ» À§ÇÑ Ã¢Àº ¾Æ·¡ ¶Ç´Â ¿ìÃø¿¡ À§Ä¡ ÇÒ ¼ö ÀÖ°í, Ãʱâ»óÅ¿¡¼­´Â º¸ÀÌÁö ¾ÊÁö¸¸, ÇÁ·Î±×·¥À» ½ÇÇàÇÏ¸é ³ªÅ¸³ª°Ô µÇ°í, ÆíÁýâ°ú Ãâ·Ââ »çÀÌÀÇ ±¸ºÐÀÚ¸¦ ¸¶¿ì½º¸¦ ÀÌ¿ëÇÏ¿© Å©±â¸¦ Á¶ÀýÇÒ ¼ö ÀÖ´Ù.

Ãʱâ»óÅÂÀÇ Ãâ·ÂâÀÇ À§Ä¡´Â ¾Æ·¡ ºÎºÐÀ̸ç, Á¦¸ñÇ¥½Ã ÁÙÀÇ optionsÇ׸ñÀÇ ¼¼·ÎºÐÇÒÀ» ÀÌ¿ëÇÏ¿© ÆíÁýâ°ú Ãâ·ÂâÀÇ ºÐÇÒ À§Ä¡¸¦ ¿ìÃø¿¡ À§Ä¡ÇÏ°Ô ÇÒ ¼ö ÀÖ´Ù.

Ch°¡ ÀνºÅçµÈ ½Ã½ºÅÛ¿¡¼­ ChSciTE ÆíÁý±â¸¦ ÀÌ¿ëÇÏ¿© ÀÛ¼ºµÈ ÇÁ·Î±×·¥Àº Microsoft Visual Studio¿¡¼­ÀÇ °³¹ßȯ°æ(IDE)ó·³ ½±°Ô ½ÇÇàÇÒ ¼ö ÀÖ½À´Ï´Ù. ÀÛ¼ºµÈ ÇÁ·Î±×·¥Àº ÄÄÆÄÀÏÇÏÁö ¾Ê°í ÀÎÅÍÇÁ¸®Å͹æ½ÄÀ¸·Î ½ÇÇàµÇ¾îÁö¸ç, ÇÁ·Î±×·¥ ½ÇÇà°á°ú¸¦ Á÷Á¢ Ãâ·Ââ¿¡ Ãâ·ÂÇÑ´Ù.

´ÙÀ½Àº ÇÁ·Î±×·¥ÀÇ ÆíÁý °ú ½ÇÇà¿¡ µû¸¥ Ãâ·ÂÀÇ ¿¹ÀÌ´Ù.

¿¹¸¦ µé¾î, Á¦¸ñ Ç¥½ÃÁÙÀÇ ÆÄÀÏ ¡æ »õ·Î ¸¸µé±â¸¦ ÀÌ¿ëÇÏ¿©

#include <stdio.h> int main() { printf("Hello, world!\n"); return 0; }

À§¿Í °°ÀÌ ÀÔ·ÂÇÑ´Ù.

ÀÔ·ÂÇÑ ÇÁ·Î±×·¥Àº CHHOME/demos/bin/hello.c¿Í °°À¸¸ç, ¿©±â¼­ CHHOMEÀº ÀνºÅçµÈ ChÇÁ·Î±×·¥ÀÇ µð·ºÅ͸®À̸ç, À©µµ¿ÀÀÇ °æ¿ì C:/ChÀ̱⠶§¹®¿¡ C:/Ch/demos/bin/hello.c, ¿¡¼­ ÆÄÀÏ ¡æ ºÒ·¯¿À±â¸¦ ÀÌ¿ëÇÏ¿© ºÒ·¯¿Ã ¼öµµ ÀÖ´Ù.

ÇÁ·Î±×·¥ÀÇ ±¸¹®ÀÌ »öÀ¸·Î ±¸ºÐµÇ¾î ´ÙÀ½ ±×¸² 3°ú °°ÀÌ º¸ÀÌ°Ô µÈ´Ù.



Figure 3: Program hello.c

ÇÁ·Î±×·¥À» ¾Æ·¡ÀÇ ±×¸² 4¿Í °°ÀÌ hello.c·Î ÀúÀåÇÑ´Ù.



Figure 4: Save program hello.c

Á¦¸ñÇ¥½Ã ÁÙÀÇ µµ±¸ ¡æ ½ÇÇàÀ» Ŭ¸¯ÇÏ¿© ±×¸² 5¿Í °°ÀÌ hello.c ÇÁ·Î±×·¥À» ½ÇÇàÇÑ´Ù.



Figure 5: Executing program hello.c

Á¦¸ñÇ¥½Ã ÁÙÀÇ µµ±¸ ¡æ ½ÇÇàÀ» ÀÌ¿ëÇÏ¿© ÇÁ·Î±×·¥À» ½ÇÇà½ÃÅ°´Â ¹æ¹ý ´ë½Å¿¡ F5 ´ÜÃàÅ° ÀÌ¿ëÇصµ µÈ´Ù.

¸¸ÀÏ Ãâ·ÂâÀÌ ¾ø´Â °æ¿ì »õ·Î »ý¼ºÇÏ¿© ÇÁ·Î±×·¥ ½ÇÇà °á°ú°¡ Ãâ·ÂâÀÌ ¾Æ·¡¿Í °°ÀÌ ³ªÅ¸³ª°Ô µÈ´Ù.

>ch -u hello.c
Hello, world!
>Exit code: 0
ÀÌ´Â ±×¸² 6°ú °°´Ù.



Figure 6: The output from executing program hello.c

ù ¹ø°ÀÇ ¶óÀÎ(blue)Àº ChSciTE°¡ ÇÁ·Î±×·¥À» ½ÇÇàÇϱâ À§ÇÑ ¸í·É¾îÀÌ´Ù. ±× ´ÙÀ½ÀÇ ¶óÀÎ(black)Àº Ch°¡ ½ÇÇàµÇ¾î ¾òÀº °á°ú ÀÌ¸ç ¸¶Áö¸· ÁÙÀº ChSciTE°¡ ÇÁ·Î±×·¥ÀÌ Á¾·áµÉ ¶§ returnµÈ °á°ú¸¦ º¸¿©ÁÖ´Â °ÍÀ¸·Î, °á°ú °ªÀÌ 0ÀÌ¸é ¿À·ù°¡ ¾øÀ½À» Ç¥½ÃÇÏ´Â °ÍÀÌ´Ù.

ChSciTE´Â Ch¿¡ ÀÇÇØ »ý¼ºµÈ error·Î ºÎÅÍ ¾Ë ¼ö Àִµ¥, ÀÌ°ÍÀ» º¸·Á¸é È­ÀÏ¿¡ ¾Æ·¡¿Í °°ÀÌ

printf("Hello, world");
¸¦
printf("Hello, world";
·Î º¯°æÇÏ¿© ¿À·ù¸¦ ¸¸µé°í Á¦¸ñÇ¥½Ã ÁÙÀÇ µµ±¸ ¡æ ½ÇÇàÀ» ÀÌ¿ëÇÏ¿© ÇÁ·Î±×·¥À» ½ÇÇàÇÑ´Ù. ±× °á°ú ¾Æ·¡¿Í °°ÀÌ º¼ ¼ö Àִµ¥

>ch -u hello.c
ERROR: missing ')'
  ERROR: syntax error before or at line 4 in file hello.c
  ==>:    printf("Hello, world\n";
  BUG:    printf("Hello, world\n"; <== ???
ERROR: cannot execute command 'hello.c'
>Exit code: 1
    
ÀÌ´Â ±×¸² 7°ú °°´Ù.



Figure 7: The error line in output from executing program hello.c

±×¸² ±×¸² 7¿¡¼­ ºÓÀº»ö ¶óÀÎÀ» Ŭ¸¯ÇÏ¸é ±×¸² 8°ú °°ÀÌ ÆíÁý ÇÁ·Î±×·¥ÀÇ ±¸¹®¿À·ù ÇàÀÌ °­Á¶µÇ¾î º¸ÀÌ°Ô µÈ´Ù.



Figure 8: Finding the error line in output from executing program hello.c

ÇÁ·Î±×·¥ÀÌ °£´ÜÇÑ °æ¿ì¿¡ ½±°Ô ¾Ë ¼ö ÀÖÁö¸¸, ÇÁ·Î±×·¥ÀÌ Å« °æ¿ì¿¡ Á¦¸ñÇ¥½Ã ÁÙÀÇ µµ±¸ ¡æ ´ÙÀ½ ¸Þ½ÃÁö(´ÜÃàÅ° F4)¸¦ ÀÌ¿ëÇÏ¿© °¢°¢ÀÇ ¿À·ù¸¦ È®ÀÎÇÒ ¼ö ÀÖ´Ù. Á¦¸ñÇ¥½Ã ÁÙÀÇ µµ±¸ ¡æ ´ÙÀ½ ¸Þ½ÃÁö¸¦ Ŭ¸¯Çϸé Ãâ·ÂâÀÇ Ã¹ ¹ø° ¿À·ùÇà°ú ÆíÁýâ¿¡ ÇØ´çÇÏ´Â ÇÁ·Î±×·¥¿¡ ÇØ´çÇÏ´Â À§Ä¡¿¡ ³ë¶õ ¹è°æÀ¸·Î °­Á¶µÇ¾î ³ªÅ¸³ª°Ô µÈ´Ù. ±×¸² 8°ú °°ÀÌ ChSciTE´Â ¼öÁ¤ÀÌ ÇÊ¿äÇÑ ÆíÁýâÀÇ Çà¿¡ ÀÚµ¿À¸·Î ½ºÅ©·ÑµÇ¾î À§Ä¡ÇÏ°Ô µÈ´Ù.

Çì´õÆÄÀϵî°ú °°ÀÌ ÇöÀç ÆíÁýÁßÀÌÁö ¾ÊÀº ÆÄÀÏ¿¡¼­ ¿À·ù°¡ ¹ß»ýÇÑ °æ¿ì, ChSciTE´Â ¿À·ù°¡ ¹ß»ýÇÑ ÆÄÀÏ°ú Çà ¹øÈ£¸¦ ¾Ë°í Àֱ⠶§¹®¿¡, ¿À·ù°¡ ¹ß»ýÇÑ ÆÄÀÏÀ» ¼öÁ¤ÇϱⰡ ¿ëÀÌÇÏ´Ù. ´Ü, ÀÌ ±â´ÉÀº ÆÄÀÏÀ̸§¿¡ " " À̳ª ".."µî°ú °°Àº ¹®ÀÚ¸¦ Æ÷ÇÔÇÏ°í ÀÖ´Â °æ¿ì¿¡ µ¿ÀÛÇÏÁö ¾ÊÀ» ¼öµµ ÀÖ´Ù.

¸¸ÀÏ ½ÇÇà Áß¿¡ ¿À·ù°¡ ¹ß»ýÇÑ »óÅ¿¡¼­ ¿À·§µ¿¾È Àְųª ÇÁ·Î±×·¥ÀÌ ÁøÇà Áß¿¡ Á¦¸ñÇ¥½Ã ÁÙÀÇ µµ±¸ ¡æ ½ÇÇàÁßÁö¸¦ ÀÌ¿ëÇÏ¿© ÁßÁö½Ãų ¼ö ÀÖ´Ù.

À©µµ¿ì »óÅ¿¡¼­ ChSciTE´Â ±âº»ÀûÀ¸·Î ½ÇÇà¸í·É¿¡ ÀÇÇØ ¼öÇàµÈ´Ù. ÀÌ·± »óÅ¿¡¼­ BGU°°Àº ÇÁ·Î±×·¥À» ½ÇÇàÇßÀ» °æ¿ì¿¡ °á°ú¸¦ Ç¥½ÃÇÏÁö ¾Ê°Ô µÉ°ÍÀÌ´Ù. µû¶ó¼­ command.subsystem ±â´É¿¡ GUI°°Àº ¼öÇà¸ðµå¸¦ Á¤ÀÇÇϸé, Ãʱâ»óÅ¿¡¼­ ÀÌ subsystemÀº 0 À̸ç ÀÌ´Â ¸í·ÉÁÙ ÇÁ·Î±×·¥ÀÇ °æ¿ì¸¦ ÀǹÌÇϸç, 1Àº Ãâ·ÂÀ» À§ÇÑ Ãâ·ÂâÀ» »ý¼ºÇÏ°Ô ÇÏ´Â °æ¿ìÀÌ°í, 2´Â ½©¸í·É¾î ¼öÇàÀ» ÇÏ´Â °æ¿ìÀÌ´Ù. µû¶ó¼­ OpenGL À̳ª À©µµ¿ì ÇÁ·Î±×·¥°°Àº GUI¸¦ ½ÇÇàÇϱâ À§Çؼ­´Â Á¦¸ñÇ¥½Ã ÁÙÀÇ µµ±¸ ¡æ Ch ȯ°æ ½ÇÇàÀ» ÀÌ¿ëÇÏ¿© GUIÇÁ·Î±×·¥ÀÇ ½ÇÇàµÇ¾î °á°ú¸¦ º¼ ¼ö ÀÖ´Ù.

GTK+¿¡¼­´Â ÃʱⰪÀÌ 0À¸·Î ÀÌ´Â ¼öÇàÀÌ ¿ÏÀüÈ÷ Á¾·áµÉ ¶§±îÁö ±â´Ù·Á¼­ °á°ú¸¦ Ãâ·Ââ¿¡ Ãâ·ÂÇÏ´Â ¸ðµåÀ̸ç, 2´Â ¹é±×¶ó¿îµå ½ÇÇàÀ» Á¤ÀÇÇÑ´Ù.

°æ·Î ¼³Á¤ ¹× Ch ¸ê·É¾î ªO¾Æº¸±â

¸í·É½© »óÅ¿¡¼­ ¸í·É¾î¸¦ ¼öÇàÇϱâ À§ÇØ ¸í·É¾î¸¦ ÀÔ·ÂÇϸé, ¸í·É½©Àº Ưº°È÷ ÁöÁ¤µÈ °æ·Î¿¡¼­ ¸í·É¾î¸¦ ªO°Ô µÈ´Ù. Ch½©ÀÇ °æ¿ì, ½Ã½ºÅÛ º¯¼ö _path ¿¡ Á¤ÀÇµÈ °æ·Î¿¡¼­ ¸í·É¾î¸¦ ªO´Â´Ù. ¿©·¯ °æ·Î¸¦ ÁöÁ¤ÇÒ ¼ö Àִµ¥, °¢°¢ÀÇ °æ·Î »çÀÌ¿¡´Â ¼¼¹ÌÄÝ·Ð(;)À¸·Î ±¸ºÐÇϸç, Ch½©ÀÌ ½ÇÇàµÇ¸é ±âº»ÀûÀ¸·Î _path¿¡ ¸î¸îÀÇ °æ·Î°¡ Á¤ÀǵǾú´Ù. ¶ÇÇÑ ¸í·É½¦À» À§ÇØ »ç¿ëÀÚ¿¡ ÀÇÇØ Ãß°¡°¡ °¡´ÉÇϸç, string function stradd()¿¡ ÀÎÀÚ(°æ·Î)¸¦ Ãß°¡ÇÏ¿© ÀÌ¿ëÇÏ¸é »õ·Î¿î _path°¡ ¼³Á¤µÈ´Ù.
¿¹¸¦ µé¾î, _path¿¡ °æ·Î C:/Documents and Settings/Administrator/c99¿¡ °æ·Î°¡ ÁöÁ¤µÇÁö ¾Ê°í ÀÌ °æ·Î¿¡ hello.c°¡ ÀúÀåµÈ »óȲÀ̸ç ÇöÀç ÀÛ¾÷°æ·Î°¡ C:/Documents and Settings/Administrator¶ó¸é, Ch¸í·É½©Àº ¸í·É¾î¸¦ ªOÀ» ¼ö ¾ø±â ¶§¹®¿¡ ´ÙÀ½ÀÇ µÎ°³ÀÇ ¿À·ù ¸Þ½ÃÁö¸¦ Ãâ·ÂÇÏ°Ô µÉ °ÍÀÌ´Ù. C:/Documents and Settings/Administrator> hello.c ERROR: variable 'hello.c' not defined ERROR: command 'hello.c' not found Ãʱâ»óÅ¿¡¼­ Ch½©À» ½ÇÇàÇϰųª Ch ÇÁ·Î±×·¥ÀÌ ½ÇÇàµÉ ¶§, ¸¸ÀÏ »ç¿ëÀÚ È¨µð·ºÅ丮°¡ ÀÖ´Ù¸é, ±× µð·¹Å丮 ¾È¿¡ ÀÖ´Â ±¸µ¿ÆÄÀÏÀÎ Unix¿¡¼­´Â .chrc, À©µµ¿ì¿¡¼­´Â _chrc¸¦ ¿ì¼±ÀûÀ¸·Î ¼öÇàÇÑ´Ù. Áï, À©µµ¿ì¿¡¼­´Â ChÀÇ ±¸µ¿À» À§ÇÏ¿© »ç¿ëÀÚÀÇ È¨µð·ºÅ丮¿¡¼­ _chrc¸¦ »ç¿ëÇÏ´Â °ÍÀ» ¾Ë ¼ö ÀÖ´Ù. ÀÌ ÆÄÀÏ¿¡´Â ¸í·É¾î, Æã¼Ç ±×¸®°í Çì´õÆÄÀÏ µîÀ» ªO±â À§ÇÑ °æ·Î°¡ ¼³Á¤ µÇ¾î ÀÖ´Ù. Ãʱâ»óÅ¿¡¼­´Â »ç¿ëÀÚÀÇ È¨µð·ºÅ丮¿¡´Â Á¸ÀçÇÏÁö ¾Ê´Â´Ù. µû¶ó¼­ °èÁ¤°ü¸®ÀÚÀÇ °æ¿ì´Â ÀÌ ¼³Á¤ÆÄÀÏÀ» »ç¿ëÀÚÀÇ È¨µð·ºÅ丮¿¡ Ãß°¡ÇØ ÁÙ ¼ö ÀÖ°í »ç¿ëÀÚµµ ¶ÇÇÑ ¿É¼Ç -d¸¦ »ç¿ëÇÏ¿© Ch½© ¸í·ÉÀ» ¾Æ·¡¿Í °°ÀÌ ¼öÇàÇϸé ch -d ¼³Á¤ÆÄÀÏÀ» »ç¿ëÀÚÀÇ È¨µð·ºÅ丮¿¡ Ãß°¡ÇØ ÁØ´Ù.
¸¸ÀÏ »ç¿ëÀÚÀÇ È¨µð·ºÅ丮¿¡ ¼³Á¤ÆÄÀÏÀÌ Á¸ÀçÇÏÁö ¾ÊÀ¸¸é CHHOME/config/¿¡ ÀÖ´Â ±âº»ÀûÀÎ ¼³Á¤ ÆÄÀÏÀ» »ç¿ëÀÚÀÇ È¨µð·ºÅ丮¿¡ º¹»çÇÏ°Ô µÈ´Ù. ÁÖÀÇÇÒ °ÍÀº ¿©±â¼­ "CHHOME"Àº µð·ºÅ丮°¡ ¾Æ´Ï°í ÄÄÇ»ÅÍ¿¡ Ch°¡ ÀνºÅçµÈ °æ·Î¸¦ ´ë½ÅÇÏ´Â °ÍÀÌ´Ù. Ãʱâ»óÅ¿¡¼­ Ch°¡ ÀνºÅçµÈ °æ·Î´Â À©µµ¿ì °æ¿ì C:/Ch ±×¸®°í Unix¼­´Â /usr/local/ch°¡ µÈ´Ù.
À©µµ¿ì¿¡¼­´Â ¾Æ·¡ÀÇ ¸í·ÉÀ¸·Î Ch½©À» ±âµ¿Çϸé C:/Documents and Settings/Administrator> ch -d »ç¿ëÀÚÀÇ È¨µð·ºÅ丮 C:/Documents¿Í Settings/Administrator ¾È¿¡ ½ÃÀÛÆÄÀÏ _chrc¸¦ »õ·Î ¸¸µé°Ô µÈ´Ù. ÀÌ °³º° »ç¿ëÀÚ¸¦ À§ÇÑ Ch ÃʱâÈ­ ½ÃÀÛÆÄÀÏÀÎ _chrc´Â ¾Æ·¡ÀÇ ±×¸² 9¿Í °°ÀÌ ChSciTE ÆíÁý±â¿¡ ÀÇÇØ ÆíÁýÇÒ ¼ö ÀÖ½À´Ï´Ù.



Figure 9: Open the local Ch initialization startup file for editing.

´ÙÀ½ÀÇ °æ·Î C:/Documents and Settings/Administrator/c99¸¦ ¸í·É¾î¸¦ ªO±â À§ÇÑ °æ·Î¿¡ Ãß°¡Çϱâ À§Çؼ­ ´ÙÀ½ÀÇ ¸í·É¾î¸¦ »ç¿ëÇÏ¿© _path = stradd(_path, "C:/Documents and Settings/Administrator/c99;"); »ç¿ëÀÚÀÇ È¨µð·ºÅ丮¿¡ ÀÖ´Â _chrc¿¡ C:/Documents Settings/Administrator/c99 ¸¦ Ãß°¡Çϱâ À§ÇØ ½ÇÇàÇÏ°í, ±×¸®°í¼­ ´Ù½Ã Ch ½ÇÇཀྵÀ» ½ÇÇàÇÏ¸é µÈ´Ù. ÀÌ·¸°Ô ÇÔÀ¸·Î½á ÇöÀçÀÇ °æ·Î¿¡ °ü°è ¾øÀÌ hello.c¶ó´Â ¸í·É¾î¸¦ ½ÇÇàÇÒ ¼ö ÀÖ´Ù. _chrc¿¡ °á·Î¸¦ Ãß°¡ÇÑ ÈÄ hello.c¸¦ ½ÇÇàÇÑ °á°ú¸¦ º¸¿©ÁÖ°í ÀÖ´Ù. C:/Documents and Settings/Administrator> hello.c Hello, world

_path¸í·É°ú À¯»çÇÏ°Ô, Ch¿¡¼­ Çì´õÈ­ÀÏÀ» ÂüÁ¶Çϱâ À§ÇÑ °æ·ÎÀÇ ½Ã½ºÅÛ º¯¼ö´Â _ipathÀÌ´Ù. °¢°¢ÀÇ °æ·Î¿Í °æ·Î »çÀÌ´Â ¼¼¹ÌÄÝ·ÐÀ¸·Î ±¸ºÐÇÑ´Ù. ¿¹¸¦ µé¾î ¾Æ·¡ÀÇ ¸í·ÉÀº _ipath = stradd(_ipath, "C:/Documents and Setting/Administrator/c99;"); Çì´õÆÄÀÏÀ» ªO±â À§ÇÑ ´ÙÀ½ÀÇ °æ·Î C:/Documents and Setting/Administrator/c99¸¦ Ãß°¡ÇÏ°Ô µÈ´Ù.

¶Ç, Æã¼ÇÆÄÀÏÀ» ªO±â À§ÇÑ °æ·Î¸¦ Ãß°¡Çϱâ À§ÇÑ ¸í·ÉÀº ´ÙÀ½À» ÀÌ¿ëÇÏ¿© Ãß°¡ÇÒ ¼ö ÀÖ½À´Ï´Ù.

_fpath = stradd(_fpath, "C:/Documents and Setting/Administrator/c99;");

Unix¿¡¼­, Ãʱ⿡´Â ¸í·ÉÀ» Ž»öÇϱâ À§ÇÑ °æ·Î´Â ÇöÀçÀÇ ÀÛ¾÷ÇÏ°í ÀÖ´Â °æ·Î´Â Æ÷ÇԵǾî ÀÖÁö ¾Ê´Ù. µû¶ó¼­ ÇöÀçÀÇ ÀÛ¾÷ °æ·Î¸¦ ¸í·É¾î Ž»ö °æ·Î¿¡ Ãß°¡Çϱâ À§Çؼ­´Â ´ÙÀ½ÀÇ ¸í·É¾î _path = stradd(_path, ".;"); ¸¦ ½ÇÇàÇÏ¿© .chrc¿¡ »ç¿ëÀÚÀÇ ÇöÀç µð·ºÅ丮¸¦ Ãß°¡ÇÏ°í ½ÍÀ» ¶§ »ç¿ëÇÑ´Ù. ÇÔ¼ö stradd(_path, ".;")´Â ÇöÀç µð·ºÅ丮¸¦ ´ë½ÅÇÏ´Â '.'¸¦ ½Ã½ºÅÛ ÇÔ¼öÀÎ _path¿¡ Ãß°¡ÇÏ´Â ±â´ÉÀÌ´Ù.

»ç¿ëÀÚÀÇ ÀÔ·ÂÀÌ ÇÊ¿äÇÑ ¿¹

ÀÌ ¿¹¿¡¼­´Â »ç¿ëÀÚÀÇ ÀÔ·ÂÀڷḦ ¿ä±¸ÇÏ´Â C/Ch/C++ program/scriptÀ» ¼öÇàÇÏ´Â ¹æ¹ýÀ» º¸¿©ÁØ °ÍÀÔ´Ï´Ù. ±×¸² 10°ú °°ÀÌ ÇÁ·Î±×·¥ Äڵ带 ÀÔ·ÂÇÑ´Ù.

ÀÌ¿Í °°Àº ÇÁ·Î±×·¥ÀÌ C:/Ch/demos/bin/scanf.c¿¡ Àֱ⠶§¹®¿¡ Á¦¸ñÇ¥½Ã ÁÙÀÇ µµ±¸ ¡æ ¿­±â¸¦ Ŭ¸¯ÇÏ¿© ºÒ·¯¿Ã ¼öµµ ÀÖ´Ù.

½ÇÇà µ¿¾È¿¡, ÀÌ ÇÁ·Î±×·¥Àº "Please input a number" ¶ó°í »ç¿ëÀÚ¿¡°Ô ¹¯°í Áú¹®ÇØ¾ß ÇÏ°í ½Ã½ºÅÛÀ¸·Î ÇÏ¿©±Ý "Your input number is"¿Í »ç¿ëÀÚ°¡ ÀÔ·ÂÇÑ ³»¿ëÀ» Ãâ·ÂÇÑ´Ù.



Figure 10: A program with input from the user.

ÇÁ·Î±×·¥ÀÌ ½ÇÇàµÇ¸é, ÀÔ¡¤Ãâ·Ââ¿¡ ±×¸² 11°ú °°ÀÌ »ç¿ëÀÚ°¡ ¼ö¸¦ ÀÔ·ÂÇϵµ·Ï À¯µµÇϸç, ±×·¯¸é »ç¿ëÀÚ´Â ¼ö¸¦ ÀÔ·ÂÇÑ´Ù. ÀÌ µÎ ÀÔ·ÂÇÑ 56 À̶ó´Â ¼ö¿Í Ãâ·ÂÀÌ ±×¸² 11¿¡ ³ªÅ¸³ª ÀÖ´Ù.



Figure 11: Executing the program with input and output.

Ch¿¡¼­ Ç÷ÔÆÿ¡ °üÇÑ ¿¹

ÀÌ ¿¹´Â Ch Professional Edition¿¡¼­ ¸¸µç Ç÷ÔÆà ÇÁ·Î±×·¥À» C/Ch/C++ program/script¿¡¼­¼öÇàÇÏ´Â ¹æ¹ýÀ» º¸¿©ÁÙ °ÍÀÔ´Ï´Ù. ±×¸² 12¿Í °°ÀÌ ÀÔ·ÂÇϴµ¥, µ¿ÀÏÇÑ ÇÁ·Î±×·¥ÀÌ C:/Ch/demos/bin/fplotxy.cpp¿¡ ÀÖÀ¸´Ï Á¦¸ñÇ¥½Ã ÁÙÀÇ µµ±¸ ¡æ ¿­±â¸¦ Ŭ¸¯ÇÏ¿© ºÒ·¯¿Íµµ µÈ´Ù. ±×¸®°í ÇÁ·Î±×·¥À» ¼öÇàÇϸé, ´ÙÀ½ ±×¸² 13°ú °°Àº ±×¸²À» Ãâ·ÂÇÑ´Ù. ÀÌ ÇÔ¼ö fplotxy()´Â Ch Professional Edition ¿¡¼­ »ç¿ëÀÌ °¡´ÉÇÏ´Ù. ±×¸² 12´Â Ç÷ÔÆà ÇÔ¼ö fplotxy()¸¦ »ç¿ëÇÏ¿© xÃàÀÇ ¹üÀ§¸¦ 0¿¡¼­ 360±îÁöÀÇ »çÀ̸¦ 37°³ ±¸ºÐÇÏ¿© Ç÷ÔÆÃÇÑ °á°ú¸¦ º¸¿©ÁÖ°í Àִ´Ù.



Figure 12: A plotting program using fplotxy().



Figure 13: The output of the plotting program.

Ç÷ÔÆà ÇÔ¼ö fplotxy()ÀÇ »ç¿ë¿¡¼­ Ç÷ÔÆÃÇÒ data¸¦ÀúÀåÇϱâ À§ÇÏ¿© C array¸¦ »ç¿ëÇÒ ¼ö ÀÖ´Ù. ÇÑ ¿¹·Î ±×¸² 13¿¡¼­¿Í °°ÀÌ ÇÁ·Î±×·¥ C:/Ch/demos/bin/fplotxy.cpp´Â Ç÷ÔÆÃÇϱâ À§ÇÑ data¸¦ ÀúÀåÇϱâ À§ÇÏ¿© C¾ð¾î ¿¡¼­ Áö¿øÇÏ´Â ÇÔ¼öÀÎ array¸¦ »ç¿ëÇÏ°í ÀÖ´Ù. ÇÁ·Î±×·¥ C:/Ch/demos/bin/plotxy.cpp¸¦ ½ÇÇàÇÑ °á°ú°¡ ±×¸² 14¿¡ º¸¿©ÁÖ°í ÀÖÀ¸¸ç Ãâ·Â °á°ú´Â ±×¸² 15¿Í °°´Ù.



Figure 15: A plotting program using plotxy().

ÀÌ Ç÷ÔÆà ÇÔ¼ö fplotxy()´Â ¶ÇÇÑ ±×¸² 16°ú °°ÀÌ 3-D Ç÷ÔÆÿ¡¼­µµ »ç¿ëÇÒ ¼ö ÀÖ´Ù. xÀÇ ¹üÀ§´Â -3¿¡¼­ 3, yÀÇ ¹üÀ§¸¦ -4¿¡¼­ 4 ±¸°£À» 80µîºÐÇÏ¿© ÀÌ¿¡ ÇØ´çÇÏ´Â ÇÔ¼ö cos(x)¡¤sin(y)¸¦ Ãâ·ÂÇÑ °á°úÀÌ´Ù. ±×¸² 16°ú °°ÀÌ ÇÁ·Î±×·¥ C:/Ch/demos/bin/fplotxyz.cppÀ» ½ÇÇàÇÏ¿© ¾òÀº °á°ú¸¦ ±×¸² 17¿¡ º¸¿©ÁÖ°í ÀÖ´Ù.



Figure 16: A plotting program using fplotxyz().



Figure 17: The output of the plotting program using fplotxyz().

¸ê·ÉÁÙ ¸Å°³º¯¼ö(argument)

ChSciTE´Â »ç¿ëÀÚ°¡ ½ÇÇàÇÔ¿¡ ÀÖ¾î ÃÖ´ë 4°³ÀÇ ¸ê·ÉÁÙ ¸Å°³º¯¼ö¸¦ Àü´ÞÇÒ ¼ö ÀÖ´Ù. ÀÌ ¸Å°³º¯¼ö¸¦ ¼³Á¤Çϱâ À§ÇÏ¿© Á¦¸ñÇ¥½Ã ÁÙÀÇ º¸±â ¡æ ÆĶó¹ÌÅ͸¦ Ŭ¸¯Çϸé ÇöÀçÀÇ ¼³Á¤°ªÀ» º¸¿©ÁÖ¸ç ¸Å°³º¯¼ö ÀÔ·ÂÀÌ °¡´ÉÇÑ Ã¢ÀÌ ³ªÅ¸³ª°Ô µÇ¸ç, ¿©±â¿¡¼­ »õ·ÎÀÌ ÀÔ·ÂÇÒ ¼ö ÀÖ´Ù. ÀÔ·ÂÇÑ ¸Å°³º¯¼öµéÀÌ È­¸é¿¡ Ç¥½ÃµÈ »óÅ¿¡¼­, ¼­·Î ´Ù¸¥ ¸Å°³º¯¼ö¿¡ ÀÇÇØ °°Àº ÇÁ·Î±×·¥ÀÌ ¿©·¯ ¹ø ºü¸£°Ô ¼öÇàÇÒ ¼ö ÀÖ°Ô µÈ´Ù. '*'À» »ç¿ëÇÏ´Â °æ¿ì¿¡ ÇÁ·Î±×·¥ÀÌ ¼öÇàµÇ¸é ¼±ÅÃÀûÀ¸·Î ½ÇÇàâ¿¡ Ç¥½ÃµÇ°Ô ÇÒ ¼öµµ ÀÖ°í ±×·¸Áö ¾ÊÀ» ¼öµµ ÀÖ´Ù. ¸¸ÀÏ ÀÌ¹Ì Ç¥½ÃÇϵµ·Ï ¼³Á¤ µÇ¾î ÀÖÀ¸¸é '*'´Â ¹«½ÃÇÑ´Ù.

´ÙÀ½Àº ¸í·ÉÁÙ ¸Å°³º¯¼ö Àü´Þ¹æ¹ýÀÇ ¿¹ÀÔ´Ï´Ù.

ÀÌ ¿¹´Â C/Ch/C++ program/script¿¡¼­ ¾î¶»°Ô ¸í·ÉÁÙ ¸Å°³Àμö¸¦ ÀÌ¿ëÇÏ´Â Áö¸¦ º¸¿©ÁÖ°í ÀÖ´Ù. ±×¸² 18°ú °°ÀÌ ÀÔ·ÂÇÑ´Ù. ÀÌ ÇÁ·Î±×·¥Àº ¸Å°³º¯¼ö¸¦ ÀÔ·Â¹Þ¾Æ ±×°ÍÀ» Ãâ·ÂÇÏ´Â ÇÁ·Î±×·¥ÀÌ´Ù. ÀÔ·ÂÇÒ ¸Å°³º¯¼öÀÇ ¼³Á¤Àº Á¦¸ñÇ¥½Ã ÁÙÀÇ º¸±â ¡æ ÆĶó¹ÌÅ͸¦ Ŭ¸¯ÇÏ¸é ±×¸² 19¿Í °°ÀÌ ÀÔ·ÂâÀÌ ³ªÅ¸³ª°Ô µÇ¸ç ±×¸² 20°ú °°ÀÌ ÀÔ·ÂÇÑ´Ù. ÀÔ·Â ¸Å°³º¯¼ö¿¡ ÀÇÇÑ ÀÌ ÇÁ·Î±×·¥ÀÇ Ãâ·Â°á°ú´Â ±×¸² 21°ú °°´Ù.



Figure 18: A program for handling command parameters.



Figure 19: Setup command parameters.



Figure 20: Setup command parameters.



Figure 21: Executing the program with command parameters.

¹öÆÛ

ChSciTE´Â 20°³ÀÇ ¹öÆÛ¸¦ °®°í Àֱ⠶§¹®¿¡ 20°³ÀÇ È­ÀÏÀ» µ¿½Ã¿¡ ¿ÀÇÂÇÏ¿© »ç¿ëÇÒ ¼ö ÀÖ´Ù. ÆíÁýÀ̳ª ½ÇÇàÇϱâÀ§ÇÑ ÆÄÀÏÀ» ¼±ÅÃÇϱâ À§ÇÏ¿© Á¦¸ñÇ¥½Ã ÁÙÀÇ ¹öÆÛ ¡æ ´ÙÀ½À» Ŭ¸¯Çϰųª ´ÜÃàÅ° F6 »ç¿ëÇÏ¸é ´ÙÀ½ ÆÄÀÏÀÌ Á¦¸ñÇ¥½Ã ÁÙÀÇ ¹öÆÛ ¡æ ÀÌÀüÀ» Ŭ¸¯Çϰųª ´ÜÃàÅ° Shift F6 »ç¿ëÇϸé ÀÌÀü ÆÄÀÏÀÌ È°¼ºÈ­ µÈ´Ù.

¸¸ÀÏ ¸ðµç ¹öÆÛ°¡ »ç¿ëµÈ »óÅ¿¡¼­ »õ·Î¿î ÆÄÀÏÀ» ¿ÀÇÂÇÏ°Ô µÇ¸é ÀÌ¹Ì »ç¿ëµÇ°í ÀÖ´Â ¹öÆÛ¸¦ ´Ù½Ã »ç¿ëÇؾßÇϱ⠶§¹®¿¡ ÀÌ¹Ì ¿ÀǵǾî ÀÖ´Â ÆÄÀÏÀ» ÀúÀåÇØ¾ß Çϱ⠶§¹®¿¡ ÆÄÀÏ ÀúÀåÀÌ ÇÊ¿äÇÔÀ» Ç¥½ÃÇÏ°Ô µÈ´Ù.

¼¼¼Ç

¼¼¼ÇÀº »ç¿ëÁß ÀÖ´Â ÆÄÀϸíÀÇ ¸®½ºÆ®ÀÔ´Ï´Ù. µû¶ó¼­ Â÷ÈÄ¿¡ ÇöÀç »ç¿ëÁß À̾ú´ø ÆÄÀÏÀ» ´Ù½Ã ¿ÀÇÂÇϱâ À§ÇÏ¿© ¼¼¼ÇÀ» ÀúÀåÇÒ ¼ö ÀÖ´Ù. ¼¼¼ÇÀº È®Àå¸íÀÌ ".ses"ÀÎ ÅؽºÆ® ÆÄÀÏ ÇüÅ·ΠÀúÀåµË´Ï´Ù.

¼¼¼ÇÀÇ ºÒ·¯¿À±â³ª ÀúÀåÀº Á¦¸ñÇ¥½Ã ÁÙÀÇ ÆÄÀÏ ¡æ ¼¼¼Ç ºÒ·¯¿À±â/¼¼¼Ç ÀúÀåÇϱ⸦ ÀÌ¿ëÇÏ¸é µÈ´Ù. ¶ÇÇÑ ChSciTEÀÇ È¯°æ¼³Á¤ ÆÄÀÏÀÎ C:/Program Files/ChSciTE/SciTE.ses¿¡ ÇÁ·Î±×·¥ÀÌ ½ÃÀÛµÉ ¶§ ÀÚµ¿À¸·Î ºÒ·¯¿À°Ô ÇÒ ¼ö ÀÖ´Â ±â´ÉÀ» on/offÇÒ ¼ö ÀÖµµ·Ï ¼³Á¤ÇÒ ¼ö ÀÖ´Ù.

Ãʱ⠼³Á¤¿¡¼­´Â ¼¼¼ÇÀ» ÀÚµ¿À¸·Î °ü¸®Çϵµ·Ï ¼³Á¤µÇ¾î ÀÖ´Ù.

ÀÌÀü¿¡ »ç¿ëÇÏ´ø ¼¼¼ÇÀ» ºÒ·¯¿À°Ô µÇ¸é ÇöÀç »ç¿ëÁßÀÎ ¹öÆÛ¸¦ ´Ý°Ô µÊ¿¡ µû¶ó ÇöÀç ÆíÁýÁßÀÎ ÆÄÀÏÀ» ÀÒ¾î¹ö¸®Áö ¾Ê°Ô µÈ´Ù. ¿Ö³ÄÇϸé ChSciTE´Â Á¦ÀÏ ¸ÕÀú ÀúÀåµÇÁö ¾ÊÀº ¹öÆÛÀÇ Á¤º¸¸¦ ÀúÀåÇÒ °ÍÀ» ¹¯°Ô µÇ¾î Àֱ⠶§¹®ÀÌ´Ù.

ÀÏ´Ü ¾î¶² ÆÄÀÏÀ» ¿­°Ô µÇ¸é C:/Program Files/ChSciTE/SciTE.sesÀÇ º¯¼ö¸¦ º¸È£ÇÑ´Ù. ChSciTE¸¦ ½ÃÀÛÇÏ¿© ¾î¶² ƯÁ¤ÇÑ ÆÄÀÏÀ» ¿­°Ô µÇ¸é ¼¼¼ÇÀÇ ±â·ÏÀÌ °¡´ÉÇÏ´Ù ÇÒ Áö¶óµµ ¿­·ÁÀÖ´ø ¼¼¼ÇÀ» ´Ù½Ã ÀúÀåÇÏÁö ¾Ê´Â´Ù. ÀÌ·¸°Ô ÇÔÀ¸·Î½á ¼¼¼Çº¯¼ö¸¦ º¸È£ÇÒ ¼ö ÀÖ°Ô µÇ¾î ¾î¶² ƯÁ¤ÀÇ ÆÄÀÏÀ» µ¿½Ã¿¡ µÎ ¹ø¾¿ ¿ÀÇÂÇÏ´Â °ÍÀ¸·Î ºÎÅÍ º¸È£ÇÑ´Ù.

ChSciTE°¡ Áö¿øÇÏ´Â ÇÁ·Î±×·¥ ¾ð¾î

ÇöÀç ChSciTE°¡ Áö¿øÇÏ°í ÀÖ´Â ÇÁ·Î±×·¡¹Ö ¾ð¾îµéÀº ´ÙÀ½°ú °°´Ù(* Ç¥´Â Áö¿øµÇ´Â °è¿­ÀÓ) :

  • C/Ch/C++*
  • CSS*
  • HTML*
  • Make
  • SQL and PLSQL
  • TeX and LaTeX
  • XML*

»ç¿ëÇÏ°í ÀÖ´Â ÇÁ·Î±×·¡¹Ö ¾ð¾îÀÇ ¼³Á¤Àº ÁÖ·Î ÆÄÀÏÀÇ È®ÀåÀÚ¿¡ ÀÇÇØ °áÁ¤ µÇÁö¸¸ Á¦¸ñÇ¥½Ã ÁÙÀÇ ¾ð¾î¿¡¼­ ´Ù¸¥ ÇÁ·Î±×·¡¹Ö ¾ð¾î¸¦ ¼±ÅÃÇÔÀ¸·Î¼­ º¯°æÀÌ °¡´ÉÇϸç, ¶Ç C:/Program Files/ChSciTE/ Æú´õ¿¡ ÀÖ´Â °¢ ÇÁ·Î±×·¡¹Ö ¾ð¾î¿¡ ÇØ´çÇÏ´Â properties ÆÄÀÏÀ» º¯°æÇÔÀ¸·Î¼­ ¹Ù²Ü ¼ö ÀÖ´Ù.

ã±â¿Í ¹Ù²Ù±â

ChSciTE¿¡¼­´Â ¹®¼­Áß¿¡ Æ÷ÇÔµÈ ´Ü¾î¸¦ °Ë»öÇϱâ À§ÇÑ ¿É¼ÇÀÌ Àִµ¥, º¸ÅëÀÇ ÆíÁý±â¿Í ¸¶Âù°¡Áö·Î, ¿ÂÀüÇÑ ³¹¸»À̳ª Á¤±Ô Ç¥Çö½ÄÀ» ãÀ» ¼ö ÀÖ´Â ±â´É, ´ë¼Ò¹®ÀÚ ±¸ºÐ¿© ãÀ» ¼ö ÀÖ´Â ±â´É, ãÀ» ¹æÇâ¿¡ µû¶ó ¾Æ·¡ÂÊ°ú À§ÂÊÀ» ¼³Á¤ÇÒ ¼ö ÀÖ´Â ±â´É ±×¸®°í ½ÇÇà ¹üÀ§´Â ÇöÀç Ä¿¼­ÀÇ À§Ä¡ºÎÅÍ ¹®¼­ÀÇ ³¡±îÁö ãÀº ´ÙÀ½ À̾ ¹®¼­ÀÇ Ã³À½ºÎÅÍ ÇöÀç Ä¿¼­ À§Ä¡±îÁö ¶Ç´Â Ä¿¼­ÀÇ ÇöÀç À§Ä¡ ºÎÅÍ µîÀ» ¼³Á¤ÇÒ ¼ö ÀÖ´Â ±â´ÉÀÌ ÀÖ´Ù. C ÇÁ·Î±×·¥ÀÇ ¸Å°³º¯¼öµî ¿¡¼­ »ç¿ëÇÏ´Â °Í°ú °°ÀÌ '\'°°Àº Ư¼ö ¹®ÀÚ³ª º»¹®¿¡ Àִ ƯÁ¤ÇÑ ±ÛÀÚ¸¦ Æ÷ÇÔÇÏ°í ÀÖ´Â ¹®ÀÚÀÇ °æ¿ìµµ »ç¿ëÇÒ ¼ö ÀÖ´Ù. ã¾Æ ¹Ù²Ù±â¸¦ ÇÒ °æ¿ì¿¡µµ ¸Å ¹ø ãÀº ³»¿ëÀ» ¹Ù²Ü °ÍÀÎÁö Çϳª¾¿ »ç¿ëÀÚ¿¡°Ô È®ÀÎÇÏ´Â °æ¿ì³ª ºí·ÏÀ¸·Î ¼³Á¤µÈ ºÎºÐ¿¡¼­ ã¾Æ ¹Ù²Ù±â ¶Ç´Â ÀüüÀÇ ÆÄÀÏÀ» ¼±ÅÃÇÒ ¼ö ÀÖ´Ù.

ChSciTE´Â ¿¡ ÀÖ´Â basic regular expressions with taggingÀ» Áö¿øÇÑ´Ù.

ÆíÁý¿¡¼­ Å°¿Í ´ÜÃàÅ°ÀÇ Á¤ÀÇ


ÀÚ·á ¾ø´Â ÀϺκР¼öÁ¤ÀÌ ÇÊ¿ä
ChSciTE´Â ScintillaÄÄÆ÷³ÍÆ®¸¦ ÀÌ¿ëÇÏ°í Àֱ⠶§¹®¿¡ ChSciTE¿¡¼­ Å°º¸µå ¸í·ÉÀº ÁÖ·Î À©µµ¿ìÁî¿Í GTK+ÀÇ ±ÔÄ¢¿¡ µû¸¥´Ù. ¸ðµç À̵¿Å°(¹æÇâÅ°, PgUp/PgDn, HomeÅ°, EndÅ°)°¡ ShiftÅ°³ª Shift + AltÅ°¿Í ÇÔ²² ¼±Åÿµ¿ªÀ» ¼±ÅÃÇϴµ¥ »ç¿ëµÈ´Ù. °£È¤ ¸î¸îÀÇ ±¹°¡ÀÇ Å°º¸µå¿¡¼­´Â À©µµ¿ì ½Ã½ºÅÛÀ̳ª GTK+¿¡¼­ Á¤ÀÇ µÇ¾î ÀÖ´Â À̵é Å°¸¦ »ç¿ëÇÒ ¼ö ¾ø´Ù. ÀÌµé ´ÜÃàÅ°´Â user.shortcutsÆÄÀÏ¿¡ Á¤ÀÇÇÏ¿© »ç¿ëÇÒ ¼ö ÀÖ°í, ƯÈ÷, HomeÅ°ÀÇ °æ¿ì vc.home.key·Î ´ëÄ¡µÇ¾î ÀÖ´Ù. ¸î¸îÀÇ Å°¸¦ Á¦¿ÜÇÏ°í À̵é Å°¿¡ ´ëÇÑ Á¤ÀÇ¿Í ´ÜÃàÅ°°¡ ¾Æ·¡¿¡ ³ª¿­µÇ¾î ÀÖ´Ù.

C/Ch/C++ ÇÁ·Î±×·¥ ½ÇÇà.F5
C/Ch/C++ ÇÁ·Î±×·¥ Á¤Áö.F7
Ch ¸í·É½© ½ÇÇà.Ctrl+F7
Magnify text size.Ctrl+Keypad+
Reduce text size.Ctrl+Keypad-
Restore text size to normal.Ctrl+Keypad/
Cycle through recent files.Ctrl+Tab
Indent block.Tab
Dedent block.Shift+Tab
Delete to start of word.Ctrl+BackSpace
Delete to end of word.Ctrl+Delete
Delete to start of line.Ctrl+Shift+BackSpace
Delete to end of line.Ctrl+Shift+Delete
Go to start of document.Ctrl+Home
Extend selection to start of document.Ctrl+Shift+Home
Go to start of display line.Alt+Home
Extend selection to start of display line.Alt+Shift+Home
Go to end of document.Ctrl+End
Extend selection to end of document.Ctrl+Shift+End
Go to end of display line.Alt+End
Extend selection to end of display line.Alt+Shift+End
Expand or contract a fold point.Ctrl+Keypad*
Create or delete a bookmark.Ctrl+F2
Go to next bookmark.F2
Select to next bookmark.Alt+F2
Find selection.Ctrl+F3
Find selection backwards.Ctrl+Shift+F3
Scroll up.Ctrl+Up
Scroll down.Ctrl+Down
Line cut.Ctrl+L
Line copy.Ctrl+Shift+T
Line delete.Ctrl+Shift+L
Line transpose with previous.Ctrl+T
Line duplicate.Ctrl+D
Find matching preprocessor conditional, skipping nested ones.Ctrl+K
Select to matching preprocessor conditional.Ctrl+Shift+K
Find matching preprocessor conditional backwards, skipping nested ones.Ctrl+J
Select to matching preprocessor conditional backwards.Ctrl+Shift+J
Previous paragraph. Shift extends selection.Ctrl+[
Next paragraph. Shift extends selection.Ctrl+]
Previous word. Shift extends selection.Ctrl+Left
Next word. Shift extends selection.Ctrl+Right
Previous word part. Shift extends selectionCtrl+/
Next word part. Shift extends selection.Ctrl+\

´ÜÃàÅ°

´ÜÃàÀ» »ç¿ëÇϱâ À§Çؼ­´Â ³»¿ëÀ» ÀÔ·ÂÇÏ°í Á¦¸ñÇ¥½Ã ÁÙÀÇ ÆíÁý¿¡¼­ ¾à¾î È®ÀåÀ̳ª Ctrl+B¸¦ ¼±ÅÃÇÏ¸é ´ÜÃà ÆÄÀÏ¿¡ Á¤ÀÇµÈ ³»¿ëÀ¸·Î ´ëÄ¡µÇ°Ô µÈ´Ù. ÀÌ ´ÜÃà¿¡ ´ëÇÑ Á¤ÀÇ ÆÄÀÏÀº Á¦¸ñÇ¥½Ã ÁÙÀÇ ¿É¼Ç¿¡¼­ ¾à¾î Ãß°¡¸¦ »ç¿ëÇÏ¿© ÀÛ¼ºÇÑ´Ù.

º°Äª È­ÀÏÀÇ Á¤ÀÇ´Â "º°Äª=º°ÄªÁ¤ÀÇ"ÀÇ ¹æ¹ýÀ¸·Î ÀÛ¼ºÇϸç, º°Äª ¸íĪÀº ÄÜÆ®·Ñ ¹®ÀÚ¸¦ Á¦¿ÜÇÏ°í º¸È£¹®ÀÚ¸¦ Æ÷ÇÔÇÏ¿© ¾î¶² ¹®ÀÚµµ »ç¿ëÀÌ °¡´ÉÇÏ°í À̸§¿¡ ÇØ´çÇÏ´Â ÆÄÀÏÀÌ Á¸ÀçÇØ¾ß ÇÑ´Ù. µû¶ó¼­ ¹®ÀÚÀÇ Áß°£¿¡ ' '´Â °¡´ÉÇÏÁö¸¸, '#' ³ª ' ' ±×¸®°í TabÅ°·Î ½ÃÀÛÇؼ­´Â ¾ÊµÇ¸ç Áß°£¿¡ '='¹®ÀÚ°¡ ÀÖÀ¸¸é ¾ÊµÇ°í ÃÖ´ë ±æÀÌ´Â 32¹®ÀÚÀÌ´Ù. »ý·«Çü(º°Äª)...

º°Äª Á¤ÀÇ´Â, ¸¸ÀÏ '\n' °ú '|' °°Àº ¹®ÀÚµµ °¡´ÉÇÑ, ¹®ÀÚ¿­À» »ç¿ëÇÏ¿© °¡´ÉÇÏ´Ù('|'¸¦ »ç¿ëÇϱâ À§Çؼ­´Â '||'¸¦ »ç¿ëÇÔ ). ÀÌ¿¡ ´ëÇÑ ¿¹°¡ ¹èÆ÷µÈ º°ÄªÆÄÀÏ¿¡ Àִµ¥, º°Äª Á¤ÀǸ¦ ÇÒ ¶§ ±»ÀÌ ¾ÕÀÇ ¹®ÀÚ¿Í º°°³·Ñ ³ª´­ ÇÊ¿ä´Â ¾ø´Ù. ÇÑ ¿¹·Î, '? as &eacute;"¸¦ º°ÄªÇÏ°í ÀÌ¿¡ ´ëÇÑ º°ÄªÁ¤ÀǸ¦ ÇÒ ¼ö ÀÖ´Ù. Áï, º°ÄªÀÌ ´Ù¸¥ º°Äª°ú Áߺ¹µÈ´Ù ÇÒÁö¶óµµ ¿À·ÎÁö °¡Àå ÀÛÀº ºÎºÐ¸¸À» ÀÌ¿ëÇÑ´Ù. ¸¸ÀÏ 'ring' °ú 'gathering'À» Á¤ÀÇÇß´Ù¸é ¿À·ÎÁö ±æÀÌ°¡ ªÀº 'ring'¸¸ Á¤ÀÇµÇ°Ô µÈ´Ù.

Æúµù

ChSciTE´Â ´Ù¾çÇÑ ¾ð¾î¿¡¼­ »ç¿ëÇϱâ À§ÇØ folding ÆíÁýÀ» Áö¿øÇÑ´Ù(»ç¿ë¾ð¾î ¸ñ·Ï ÂüÁ¶). FoldÀÇ À§Ä¡´Â C¾ð¾î¿¡¼­ÀÇ µé¿©¾²±â¿Í ´Ù¸¥ ¿©·¯ ¾ð¾î¿¡¼­ »ç¿ëÇÏ´Â '{'¿Í '}'¸¦ ±âÁØÀ¸·Î ÇÑ´Ù. FoldÀ§Ä¡ÀÇ »ý¼ºÀº foldÁ¤ÀÇ¿Í ÆîÄ¡±â¸¦ ÀÌ¿ëÇÑ´Ù. FoldÀ§Ä¡¿¡¼­ Ctrl+Shift+ClickÇÏ¸é °¡Àå ¿ì¼±ÀÇ fold°¡ ÆîÃÄÁö°Å³ª Á¤ÀǵȴÙ. FoldÀ§¿¡¼­ Ctrl+ClickÇϸé ÀÌ °æ¿ì´Â fold ÀÇ »óŸ¦ Åä±Û ¸ðµå·Î Á¢¾ú´Ù ÆîÄ¥ ¼ö ÀÖ°í, Shift+ClickÀº ¸ðµç ÇÏÀ§ fold¸¦ º¸¿©ÁØ´Ù.

¿£ÄÚµù

ChSciTE´Â Byte Order Mark (BOM)À¸·Î ½ÃÀÛÇÏ´Â Unicode È­ÀÏ¿¡¼­ »ç¿ëµÇ´Â encoding ±¸Á¶¸¦ ÀÚµ¿ÀûÀ¸·Î ã¾Æ³»°í UTF-8°ú UCS-2ÀÇ º¯ÇüÀÎ Little Endian°ú Big Endian Æ÷ÇÔÇÏ¿© UCS-2ÀÇ encodingµµ ÀνÄÇÑ´Ù.

UTF-8 ÆÄÀÏÀÇ °æ¿ì´Â óÀ½ µÎ ÁÙ¿¡ ÀÖ´Â Çì´õ¿¡ Æ÷ÇÔµÈ Á¤º¸µçÁö ÀϹÝÀûÀ¸·Î ¾Æ·¡¿Í °°Àº ÁÖ¼® ¾È¿¡ Æ÷ÇÔµÈ ¹®ÀÚ¿­ "utf-8"·Î ºÎÅÍ ÀνÄÇÏ°Ô µÈ´Ù.
# -*- coding: utf-8 -*-
XML¿¡¼­´Â ´ÙÀ½°ú °°´Ù.
<?xml version='1.0' encoding='utf-8'?>

´Ù¸¥ Á¾·ùÀÇ ¿£ÄÚµùÀº code.page ¿Í character.set¿¡ ¼³Á¤ÇÏ¿© ½Ã¿ëÇÒ ¼ö ÀÖ´Ù.


This document is translated into Korea by Seok Hyung Oh, osh@kunsan.ac.kr.