åœç¶ã®ããšãªãããæ°åããã¡ãŒãã«é¢ããç°ãªãèšèªã話ããç¹ã«ç°ãªãèãæ¹ãæã€ãã®ãããªå€æ°ã®ããã°ã©ããŒã®å¹æçãªäœæ¥ãç·šæããããã«ãäŒç€Ÿã¯ããã°ã©ããŒãã³ãŒããæžããšãã«éµå®ããªããã°ãªããªãèŠåãæ¡çšããŸããã åŸæ¥å¡ã¯ãä»äºã«å¿åããéã«ãããã®ã«ãŒã«ãäžããããŸããåŸæ¥å¡ã¯ã«ãŒã«ãããç解ããé å®ããªããã°ãªããŸããã ã«ãŒã«ã¯ãåºæ¬çãªã³ãŒãã®ãã©ãŒããããå€æ°ã®åœåãªã©ãå€ãã®åéãã«ããŒããŠããŸãã
ãããã®ããã€ãã¯æçœã«èŠãããããããŸãããããã€ãã¯éåžžã«ç©è°ãéžããããã€ãã¯éåžžã«æçšã§ãã ãããããããã«ãããããã¯å€§äŒæ¥ã®çµéšã§ãããå°å ¥ãããŠä»¥æ¥ãããã«ã¯çç±ããããŸããã èªåã«åœ¹ç«ã€ããšãåŠãã ããããŒã ã§ãããã®ããã€ãã玹ä»ãããããããšã§ãããŒã ãšããŠããå¹æçã«ä»äºãã§ããããã«ãªããŸãã
C ++ã§ããã°ã©ãã³ã°ããããã®äžé£ã®ã«ãŒã«ãšã¬ã€ã
Delcam International plcã«ãŠ
1 ã¯ããã«
2 åºæ¬çãªã«ãŒã«ãšæšå¥šäºé
3ã€ã®åœåèŠå
4 ã³ãŒã圢åŒãšããã¹ã圢åŒ
5 ã³ã¡ã³ã
6 å¶åŸ¡ãªãã¬ãŒã¿ãŒ
7 ãã¡ã€ã«
8 ããªããã»ããµ
9 ã¯ã©ã¹
10 å€æ°
11 æ©èœ
12 ã³ã³ã¹ãã©ã¯ã¿/ãã¹ãã©ã¯ã¿/å²ãåœãŠæŒç®å
13 åãã£ã¹ã
14 ã¡ã¢ãªã®å²ãåœãŠãšåé€
15ã®ãã¬ã³ããªãŒãªã¯ã©ã¹ãšãã¬ã³ããªãŒãªæ©èœ
16 ããŒã¿ãã«ã³ãŒãã®èšè¿°
ä»é²AïŒã³ãŒãã®ãã©ãŒãããã®äŸ
1 ã¯ããã«
1. 1件
ãã®ããã¥ã¡ã³ãã¯ãDelcam International plcã®C ++ããã°ã©ãã³ã°ã®ã«ãŒã«ãšã¬ã€ãã®ã»ããã§ãã äŒç€ŸãšããŠã®ç§ãã¡ã®ç®æšã¯ãç¶æããããæ£ããããã°ã©ã ãäœæããããšã§ãïŒèè ãšä»ã®ããã°ã©ããŒã®äž¡æ¹ãïŒã ãããã£ãŠããã®æšæºã®ç®çã¯ããã¹ãŠã®Delcamã³ãŒããäœæããããšã§ãã
- ä¿å®ãç°¡åïŒç解ããããã å¯èœãªéãæ確ã§ã·ã³ãã«ãª; äžè²«ããã¹ã¿ã€ã«ã ä¿¡é Œæ§ïŒãšã©ãŒãªã; ãµããŒãäžã®ãšã©ãŒã«å¯Ÿããèæ§ã ãã¹ããç°¡åã
- çµåïŒããŸããŸãªãã©ãããã©ãŒã ããã³ã³ã³ãã€ã©ãŒãžã®ç§»æ€çšã«èšèšãããŠããŸãã ãªãµã€ã¯ã«å¯èœã
å·çã®å€§éšåã¯æ¥åžžã®ç·Žç¿ã«æšå¥šãããŠããããããã®ææžã¯äž»ã«Delcamã§åãããã°ã©ããŒã察象ãšããŠããŸããããŒã ããŒã«ããœãããŠã§ã¢ãç·Žç¿ãç¿æ £ãªã©ãžã®é »ç¹ã«èŠããããªã³ã¯ã¯åãå ¥ããããŸããã
1. 2ã€ã®ãœãŒã¹ãšç®æš
ãã®æšæºã®æºåã§ã¯ãããã€ãã®æžç±ãšããã¥ã¡ã³ãã䜿çšãããŸããã
ãšã¬ã ãã«
Mats Henricsonããã³Eric Nyquistã ããã°ã©ãã³ã°
C ++ãã«ãŒã«ãšæšå¥šäºé ãïŒEllemtel Telecommunication System
ç 究æïŒ
è
ããŒã¬ã¬ããã»ãšãªã¹ãšãã£ã«ã³ã»ã¹ãã©ãŠã¹ãã«ãã
泚éä»ãC ++ãªãã¡ã¬ã³ã¹ããã¥ã¢ã«ïŒAddison WesleyïŒ
æ¹é
Ed Lambourneã DelcamãœãããŠã§ã¢éçºããªã·ãŒ ã
ïŒå éšã¡ã¢ïŒDelcam International PlcãïŒ
cppstd
ãã€ãããã»ããã³ã°ãã³ä»ã cppstdäžæºãã¡ã€ã« ã
ïŒå éšææžïŒDelcam International PlcãïŒ
å²åŠ
Paul DaviesãDavid Dunningtonã ããŒã¿ã¢ãã«ããã°ã©ãã³ã°
å²åŠ ãïŒå éšææžïŒDelcam International PlcãïŒ
ãã°ã¯ã€ã¢
ã¹ãã£ãŒããã°ã¯ã€ã¢ã ãœãªããã³ãŒãã®äœæ
ã¯ãªã³
Steve Ouallineã C Elements of Style ãïŒMïŒT
åºçïŒ
ããããº
Steve Hobbsã Delcam Draft Cããã°ã©ãã³ã°æšæº ã
ïŒDelcam International PlcãïŒ
Ellemtel ã¯åªããæ å ±æºã§ããã»ãŒãã¹ãŠã®èŠåãšæšå¥šäºé ããã®ããã¥ã¡ã³ããšäº€å·®ããŠããŸãã 貎éãªæ å ±æºã¯cppstdã®äžæºãã¡ã€ã«ã§ããããè±å¯ãªæ å ±ãæäŸããŸããã cppstdã«æºãã£ããã¹ãŠã®äººãç¹ã«Paul Davies ã«æãè²¢ç®ã㊠ããã人ã«æè¬ããŸã ã
ãã®æšæºã«ã¯ãã¬ãŒãã³ã°æ å ±ãã»ãšãã©ãããŸããã åºæ¬çãªæ§æãæ§æãããã³C ++ã®äœ¿çšã«ç²ŸéããŠããããšãåæãšããŠããŸãã ãœãããŠã§ã¢ã®èšèšãšéçºã®åé¡ãããã®ããã¥ã¡ã³ãã®ç¯å²å€ã§ãã èšèªã®åå¿è ã¯ãåæ§ã®æ å ±ã«ã€ããŠæ¬ãåç §ããããšããå§ãããŸãã å§ããã«ã¯ã Keith WeiskampãšBryan FlamigïŒAcademic PressïŒã«ãã The Complete C ++ Primerã è©ŠããŠãã ãã ã ãœãããŠã§ã¢éçºã«é¢ããåªããæ¬ã¯ ãBertrand Meyerã«ããObject Oriented Software Constructionã§ãã
1. 3ã«ãŒã«ãšæšå¥šäºé
æšæºãžã®éåã«ã¯ãã«ãŒã«éåãšæšå¥šäºé éåã®2çš®é¡ããããŸãã ã«ãŒã«ã®ç¹åŸŽïŒ
å®çŸ©ïŒ
åŸãã¹ãæ瀺ã æåéãã®æå³ã§ãã«ãŒã«ã¯ä»åŸã®ç®æšã®1ã€ã«ãªããŸãïŒã¯ããã«èª¬æããŸãïŒã
äŸå€ïŒ
ãã®ããã¥ã¡ã³ãã§èª¬æãããŠããäŸå€ã®ã¿ãèš±å¯ãããŸãã åã«ãŒã«ã¯ãèãããããã¹ãŠã®äŸå€ãææžåããŸãã æ°ããäŸå€ãšå€æŽãè°è«ãããå Žåãããããã®çµæããã®ããã¥ã¡ã³ãã«åæ ãããŸãã
匷å¶ïŒ
ã³ãŒããåãå ¥ããå§å¡äŒã¯ãã«ãŒã«ã«éåããå Žåãã³ãŒããæåŠããå¿ èŠããããŸãã
管çïŒ
ã³ãŒãã¯ãèªåãã¹ãããã³/ãŸãã¯ãã§ãã¯ãåããå ŽåããããŸãã
æšå¥šäºé ã®ç¹åŸŽïŒ
å®çŸ©ïŒ
æ£åœãªçç±ããªãå Žåã«åŸãã¹ãã¢ããã€ã¹ã æšå¥šäºé ã«åæããªãããšã¯æ£åœãªçç±ã§ã¯ãããŸããã æšå¥šäºé ã¯ãå°æ¥çã«ã¯èŠåã«å ¥ãåŸåããããšããäºå®ããçå®ãããŸãã
äŸå€ïŒ
éèŠãªäŸå€ã¯ãåã ã®æšå¥šäºé ãšãšãã«ææžåãããããšããããããŸãã çç±ãæ£ãããã©ããããããªãå Žåã¯ãæšæºã®ç®¡çè ãšãã®åé¡ã«ã€ããŠè©±ãåã£ãŠãã ããã
匷å¶ïŒ
æšå¥šäºé ã®éåãæ¯æããæºåãããŠãã ããã
管çïŒ
ã³ãŒãã¯ãèªåãã¹ãããã³/ãŸãã¯ãã§ãã¯ãåããå ŽåããããŸãã
ã«ãŒã«ãæšå¥šäºé ãééã£ãŠãããšæãããå Žåã¯ãããããç¡èŠãããããå€æŽããããšããå§ãããŸãã ãã®å£°æã«ã¯ãããªã·ãŒã匷調ãããŠããŸãã 7ã
å€ãã³ãŒããåãã©ãŒããããŸãã¯æžãæããå¿ èŠã¯ãããŸããã ãµããŒãäžã«ã³ãŒããå€æŽããå¿ èŠãããå Žåã¯ãæšæºãšäžèŽããå€æŽãè¡ãããšããå§ãããŸãïŒãã ã矩åã§ã¯ãããŸããïŒã å±éæã«å€ãã³ãŒãã§äœ¿çšãããŠããæžåŒèšå®æ¹æ³ãä¿åã§ããŸãããå€æŽãè¡ããšãã¯ãæžåŒèšå®ã«é¢ä¿ã®ãªãèŠåãšæšå¥šäºé ã«åŸã£ãŠãã ããã
1. 4çµç¹
ãã®ææžã®èè ã¯äººã ã§ããïŒå¥ã®èšãæ¹ãããã«ããããããïŒãçæ³çã§ã¯ãããŸããã ãã®ããã¥ã¡ã³ãã¯éçºãããäºå®ã§ãããä»åŸæ¹åãããäºå®ã§ãã
æšæºã®é²åãä¿é²ããããã«ãããã¥ã¡ã³ãããŒãžã§ã³ã³ã³ãããŒã«ã¯ãã¢ã€ãã åcppstdïŒC-Plus-Plus-STandarDïŒã䜿çšããŠã°ãªãŒãã·ã¹ãã ã«ãã£ãŠå®è£ ãããŸãã cppstdã®è©³çŽ°ã«ã€ããŠã¯ããgripe -docããšå ¥åããŠãgripeããšãgripe cppstd -helpããšå ¥åããŠãã ããã ã³ã¡ã³ãã質åãææ¡ãªã©ã¯äžæºãéããŠèšé²ãããã¹ãã§ãã
ã«ãŒã«ãšæšå¥šäºé ã¯ãå€ããªã£ãæ°åãåŠçããªãããã«ãæ°åã§ã¯ãªãããŒã¯ãŒãã«ãã£ãŠäžããããŸãã
- åã®ããŒã¯ãŒã
r- ãã«ãŒã«ã§ãã - åã®ããŒã¯ãŒã
s-- æšå¥šã
åã«ãŒã«ãšæšå¥šäºé ã«ã¯ããç°¡æœãªãã©ãŒã ããšè¿œå ããã¹ãã®ãããã¯ããããŸãã è¿œå ã®ããã¹ãã«ã¯ããç°¡æœãªãã©ãŒã ããšåããããéèŠã§ãããç¡èŠããŠã¯ãªããªãè¿œå ã®æ¡é ãå 責äºé ãããã³/ãŸãã¯äŸå€ãå«ãŸããå ŽåããããŸãã
2 åºæ¬çãªã«ãŒã«ãšæšå¥šäºé
2. 1ããªã·ãŒã¬ã€ã
r-gen-goldenïŒãŽãŒã«ãã³ã«ãŒã«ã«åŸããŸãã
ã«ãŒã«ã«éåãããã³ã«ããããæ確ã«ææžåããå¿ èŠããããŸãã éåã¯ãæšæºããµããŒããã人ã ã«ãã£ãŠæ¿èªãããå¿ èŠãããããã®çµæãå€æŽãããŸãã
s-gen-duplïŒã³ãŒããè€è£œããªãã§ãã ããã
ã³ãŒãã®éè€ã¯èŽåœçãªçœªãšèŠãªãããŸãã 2ã€ã®é¢æ°ã«å ±éã®åå¥ã®ã³ãŒã
æ©èœã å¯èœãªéãæ¢åã®ã¯ã©ã¹ã©ã€ãã©ãªã䜿çšããŸãã ç¹ã«ã2ã€ã®æšæºã¯ã©ã¹ã©ã€ãã©ãªãéèŠã§ãã
DelcamïŒutils.devãããã«ã¯ãC ++æšæºã§ã¯äœ¿çšã§ããªããœãããŠã§ã¢ïŒããšãã°ãæœè±¡æååã¯ã©ã¹ïŒãšã ãªããžã§ã¯ããæ ŒçŽããããã®åºæ¬çãªæœè±¡ããŒã¿åã å«ã e r.devãå«ãŸããŸãã
s-gen-reuseïŒåå©çšå¯èœãªã³ãŒããéçºããŸãã
å¯èœãªéãããœãããŠã§ã¢ã¯ãæ確ã«å®çŸ©ãããæ確ã«èšè¿°ãããã€ã³ã¿ãŒãã§ã€ã¹ãåããé¢é£ããŒã«ã©ã€ãã©ãªã®ã³ã³ããã¹ãã§éçºããå¿ èŠããããŸãã ã©ã€ãã©ãªã¯ãæ確ã§ææžåãããéå±€çãªæ¹æ³ã§ãªã³ã¯ããå¿ èŠããããŸãã
s-gen-simpleïŒã³ãŒããã·ã³ãã«ã«ããŸãã
ãå¹³åçãªãããã°ã©ããŒåãã®ã³ãŒããäœæããŸãã ã¹ããŒãã³ãŒãã¯ç解ãã«ãããããå°ãªã
åå©çšå¯èœã§ä¿å®ãé£ããã åžžã«ã·ã³ãã«ããšèªã¿ããããéèŠããŸãã æç®ã§ã¯ãããã¯ãã¹ïŒãã·ã³ãã«ã«ä¿ã€ãæããªãïŒååãšããŠç¥ãããŠããŸãã
s-gen-testïŒãã¹ãã³ãŒããèšè¿°ããŠãã¹ãããŸãã
ãã§ãã¯ã®åŒ·åºãªãµãã·ã¹ãã ãäœæããåŸã§äœ¿çšããŸãã å°ããªã³ãŒããæžããŠãã¹ãããŸãã ãããã¬ãããé »ç¹ã«äœ¿çšããŠãã³ãŒããã¹ãããããšã«èª¿ã¹ãŠãã ããããšã©ãŒãçºçãããŸã§åŸ ããªãã§ãã ããã ãšã©ãŒãèŠã€ãã£ããããã«ä¿®æ£ããçç¶ã§ã¯ãªãåå ãé€å»ããŸãã
2. 2åºæ¬çãªã©ã€ãã£ã³ã°ã¬ã€ã
ããã°ã©ã ã®
s-gen-mcïŒãã©ãããã©ãŒã äŸåã®ã³ãŒãã1ãæã«é 眮ããŸãã
ãã©ãããã©ãŒã åºæã®ã³ãŒããç¹å¥ãªãã¡ã€ã«ã«é 眮ããŸãã Delcamã§ã¯ãããã¯apsl.dev/apsl/machine.hã§ãã
s-gen-compïŒã³ã³ãã€ã©ã®ãšã©ãŒã®ããã«ã³ãŒããå€æŽããå¿ èŠãããå Žåãã³ã¡ã³ã
ãããææããã³ãŒãã¯ãã³ã³ãã€ã©ã«é¢ãã詳现ãæäŸããŸãã
ãgripe cppbugãã䜿çšããŠãšã©ãŒãã³ã³ãã€ã©ã«å ±åããä¿®æ£ããããã®æé ãå®è¡ã§ããããã«ããŸãã
s-gen-optïŒå¿ èŠãªå Žåã«ã®ã¿ã³ãŒããæé©åããŸãã
ããã©ãŒãã³ã¹ã®åé¡ãããããšãããã£ãŠããå Žåã«ã®ã¿ãã³ãŒããæé©åããŸãã ããã°ã©ã ãé ãããå Žåã¯ãæé©åãéå§ããåã«groff ++ãŸãã¯åçã®ããŒã«ã䜿çšããŠåé¡ã®æ£ç¢ºãªåå ãç¹å®ããŸãã
s-gen-warnïŒãã¹ãŠã®ã³ã³ãã€ã©èŠåãèš±å¯ããŸãã
å¯èœã§ããã°ãã³ã³ãã€ã©ã®èŠåãã¢ã¯ãã£ãã«ããŠããšã©ãŒãããŒã«ã©ã€ãºããã³ã³ãã€ã©ã®æ°ããããŒãžã§ã³ããšã«æžãæããå¿ èŠã®ããã³ãŒãã®éšåãæžãããŸãïŒä»æ¥ã®èŠåã¯ææ¥ãšã©ãŒã«ãªãããšãå€ãããïŒã
äŸïŒCfrontããŒã¹ã®ã³ã³ãã€ã©ã䜿çšããŠã+ wãã©ã°ã䜿çšããŠã³ã³ãã€ã«ããå¯èœãªéãåé€ããŸã
èŠåã
s-gen-asser tïŒã¢ãµãŒã·ã§ã³ã䜿çšããŠã³ãŒãããã¹ãããŸãã
ã¢ãµãŒã·ã§ã³ã«ã€ããŠã¯ãMaguireã§èª¬æãããŠããŸãã Delcamã§ã®ã¢ãµãŒã·ã§ã³ã®å®è£ ã¯ãutils.dev / utils / ut_assert.hã«ãããd0170400ã§èª¬æãããŠããŸãã
ãã°ã®çºèŠãšãã¹ãæé ã«é¢ããè¿œå ã®ãã«ãã¯ãMaguireã«ãããŸãã
3ã€ã® åœåèŠå
æå³ã®ããååãéžæããããšã¯ãèªã¿ãããã³ãŒããæžãäžã§éèŠãªéšåã§ãã åœåèŠåãäžè²«ããŠäœ¿çšãããšãã³ãŒãã®å¯èªæ§ãåäžãã人ãããã°ã©ã ã®æ§é ããã°ããç解ã§ããããã«ãªããŸãã å¥ã®èŠä»¶ã¯ãååã®ç«¶åã®ãªã¹ã¯ãæå°éã«æããããã®é åºã確ç«ããããšã§ãã ãã®ã»ã¯ã·ã§ã³ã§ã¯ãèªã¿ããããäžè²«æ§ãä¿é²ãã倧èŠæš¡éçºããµããŒãããããã«èšèšãããåœåèŠåã«ã€ããŠèª¬æããŸãã 以äžã®ããã¥ã¡ã³ãã§ã¯ãã¿ã€ãã¯ã¯ã©ã¹ãåæåããŸãã¯ã¿ã€ãå®çŸ©ã§ãã
3. 1ã©ã€ãã©ãªãã¬ãã£ãã¯ã¹
ãã¹ãŠã®ãã¡ã€ã«ãšãã®å 容ïŒã¯ã©ã¹ãé¢æ°ãªã©ïŒã¯ç¹å®ã®ã©ã€ãã©ãªã«å±ããŸãã
r-nam-libpxïŒåã©ã€ãã©ãªã«ãã¬ãã£ãã¯ã¹ãå²ãåœãŠãŸãã
åã©ã€ãã©ãªã¯ããã®ã©ã€ãã©ãªã®äžæã®2æåãŸãã¯3æåã®ãã¬ãã£ãã¯ã¹ã«é¢é£ä»ããå¿ èŠããããŸãã ãã¬ãã£ãã¯ã¹æåã¯å°æåã§ãªããã°ãªããŸããã
r-nam-globïŒãã¹ãŠã®ã°ããŒãã«åã«ã©ã€ãã©ãªãã¬ãã£ãã¯ã¹ã䜿çšããŸãã
ã©ã€ãã©ãªå ã®ãªããžã§ã¯ããã°ããŒãã«ããŒã ã¹ããŒã¹ã®äžéšã§ããå Žåããã®ååã¯ã©ã€ãã©ãªãã¬ãã£ãã¯ã¹ã§å§ãŸãå¿ èŠããããŸãã
ååããã¬ãã£ãã¯ã¹ã§æ§æããæ¹æ³ã«é¢ããèŠåã¯ã次ã®ã»ã¯ã·ã§ã³ã§èª¬æããŸãã èè ãŸãã¯ãµããŒãæ åœè ã®è²¬ä»»ã¯ãã©ã€ãã©ãªå ã§ååã®ç«¶åããªãããšã確èªããããšã§ãã ãã¬ãã£ãã¯ã¹ã¯ãã©ã€ãã©ãªã®å€éšã§ã®ååã®ç«¶åãïŒã§ããã°ïŒïŒé²ããŸãã
3. 2åãå€æ°ãé¢æ°ããã¯ãã®åå
次ã®ã«ãŒã«ã¯ãããŸããŸãªãªããžã§ã¯ãã«ååãä»ããæ¹æ³ã説æããŠããŸãã äŸã¯ãã©ã€ãã©ãªãã¬ãã£ãã¯ã¹ãz z ã§ãããšããä»®å®ã®äžã§äžããããŠããŸã ã
r-nam-typeïŒã¿ã€ãåã¯å€§æåã§å§ãŸããŸãã
ååã¯å°ããªæåã§æžãããæ°ããåèªã¯ãããã倧æåã§å§ãŸããŸãã ã¢ã³ããŒã¹ã³ã¢ãå«ããããšã¯ã§ããŸããã ååã®åã«ã¯ãå°æåã®æ¥é èŸãä»ããå¿ èŠããããŸãã ãã¹ããããã¯ã©ã¹/åæåïŒenumïŒã¯ãŸãã§ãããSGIããã³HPã³ã³ãã€ã©ã§åé¡ãçºçããå¯èœæ§ãããããããããã®äœ¿çšã¯æšå¥šãããŸããã ãã ãããããã䜿çšããå Žåã¯ãã³ã³ãã€ã©ã®åé¡ã®ããã«ã°ããŒãã«ã¯ã©ã¹åã«ã€ããŠã¯ããããã®ååãéžæããå¿ èŠããããŸãã
äŸïŒclass zzMyClass {
...
r-nam-varïŒå€æ°ãããŒã«ã«å®æ°ãããã³é¢æ°åŒæ°ã®åœåã«ã€ããŠã¯ãèŠå®ã®æ¹æ³ã«åŸã£ãŠãã ããã
å€æ°ãããŒã«ã«å®æ°ãããã³é¢æ°ã®åŒæ°ã®ååã¯ãåèªã1ã€ã®ã¢ã³ããŒã¹ã³ã¢ã§åºåã£ãå°ããªæåã§èšè¿°ãããŸãã ãã¬ãã£ãã¯ã¹ã¯æ¬¡ã®ããã«ãªããŸãã
äŸïŒconst int local_const; äŸïŒ
int local_var; äŸïŒint zz_global_var; äŸïŒint m_member_var; äŸïŒ
static int s_static_member_var; //ïŒæšå¥šïŒ
äŸïŒvoid fïŒint a_argumentïŒ;
//ïŒæšå¥šïŒ
r-nam-glconïŒã°ããŒãã«å®æ°ãšåæå®æ°ïŒenumïŒã®ååã¯å€§æåã§æžãããŠããŸãã
åèªãåºåãã«ã¯ãã¢ã³ããŒã¹ã³ã¢ã1ã€äœ¿çšããŸãã ãã¬ãã£ãã¯ã¹ã¯å°æåã§ãªããã°ãªããŸããã äŸïŒ
const int zzGLOBAL_CONST;
äŸïŒenum zzKind {zzONE_KINDã
..
r-nam-funcïŒé¢æ°åã¯å°æåã§æžãããŠããŸãã
åèªãåºåãã«ã¯ãã¢ã³ããŒã¹ã³ã¢ã1ã€äœ¿çšããŸãã ã°ããŒãã«é¢æ°ã®åã«ã¯å°æåã®æ¥é èŸãä»ãããã®åŸã«ã¢ã³ããŒã¹ã³ã¢ãç¶ããŸãã ã¯ã©ã¹ã¡ã³ãé¢æ°ã¯ãã¬ãã£ãã¯ã¹ãå¿ èŠãšããŸããã äŸå€ïŒr-nam-fargã
äŸå€ïŒr-nam-fclassã
r-nam-fargïŒãã¬ãã£ãã¯ã¹ãå«ãååŒæ°ãã°ããŒãã«é¢æ°ã«æž¡ãããå Žåãé¢æ°åã«ãã¬ãã£ãã¯ã¹ãè¿œå ããå¿ èŠã¯ãããŸããã
ãã®å Žåã®ååã®ç«¶åã®ãªã¹ã¯ã¯éåžžã«å°ããã§ãã ããã«ãããããã°ã©ããŒã¯ãååãæ¥é èŸã§æ§æçã«æ··ä¹±ãããããšãªããã¯ã©ã¹ã«å¯æ¥ã«é¢é£ããé¢æ°ãäœæã§ããŸãã ããšãã°ãã¯ã©ã¹ 'int zzClass :: fïŒïŒconst'ããã³ãã¬ã³ããªé¢æ° 'int fïŒconst zzClassïŒïŒ'ã®ã¡ã³ããŒé¢æ°ã宣èšãããšãã€ã³ã¹ã¿ã³ã¹ãåŒã®è©äŸ¡ã«é¢äžããå Žåã«æ§æãç°¡çŽ åã§ããŸãã
ãi =ïŒa + bïŒ.fïŒïŒãã¯ãi = fïŒa + bïŒãã«çœ®ãæããããŸãã äŸïŒvoid zzClass :: memberïŒïŒ; äŸïŒ
void zz_global_funcïŒïŒ;
äŸïŒvoid global_funcïŒconst
zzClassïŒïŒ;
r-nam-fclassïŒååãé¢æ°åã®äžéšã§ããå Žåãååã¯åå®çŸ©ã®ãšããã«èšè¿°ããå¿ èŠããããŸãïŒå€§æåãå«ãïŒã
åãé¢æ°ãšåãã©ã€ãã©ãªã§å®£èšãããŠããå Žåãé¢æ°åã«è¿œå ã®ã©ã€ãã©ãªãã¬ãã£ãã¯ã¹ãè¿œå ããå¿ èŠã¯ãããŸããã ããã¯ãã§ã«ã¯ã©ã¹åã«å«ãŸããŠãããr-nam-fargã®ããã«ãä»ã®ã©ã€ãã©ãªãšååã競åãããªã¹ã¯ã¯éåžžã«å°ããã§ãã äŸïŒvoid test_zzClassïŒïŒ; äŸïŒvoid zzClass :: memberïŒïŒ;
äŸïŒvoid zz_global_funcïŒïŒ;
äŸïŒvoid global_funcïŒconst
zzClassïŒïŒ;
s-nam-funcstdïŒäœ¿çš
ã¯ã©ã¹ã¡ã³ãé¢æ°ã®æšæºåïŒååšããå ŽåïŒã
ããã€ãã®ã¯ã©ã¹ã¡ã³ããŒé¢æ°
å€ãã®ã¯ã©ã¹ã«å ±éããŠããããããã®ååã¯æšæºåãããŠããŸãïŒãåç §
ã»ã¯ã·ã§ã³12.2.1ã ã¢ã¯ã»ã¹é¢æ°ãã¿ã€ã<zzAttrib>ã®ã¯ã©ã¹<attrib>ã®å±æ§ãèšå®ããå Žå
ãããã¿ã€ãvoid set_ <attrib>ïŒconst <zzAttrib>ïŒïŒãå¿ èŠã§ã;ã
ã¢ã¯ã»ã¹é¢æ°ãå±æ§ãè¿ãå Žåããããã¿ã€ããå¿ èŠã§ã
const <zzAttrib>ïŒ<attrib>ïŒïŒconstãŸãã¯<zzAttrib> <attrib>ïŒïŒ
å±æ§ã«ä»£å ¥æŒç®åãšã³ããŒã³ã³ã¹ãã©ã¯ã¿ãŒãããå Žåã¯const
ïŒã»ã¯ã·ã§ã³12.3ãåç §ïŒã
r-nam-macroïŒãã¯ãåã¯å€§æåã§ãã
åèªãåºåãã«ã¯ãã¢ã³ããŒã¹ã³ã¢ã1ã€äœ¿çšããŸãã ã©ã€ãã©ãªãã¬ãã£ãã¯ã¹ã¯å€§æåã§å ¥åãããã®åŸã«ã¢ã³ããŒã¹ã³ã¢ãå ¥åããå¿ èŠããããŸãã r-def-minusd§8ãåç §ããŠãã ããã äŸå€ïŒããããŒãã¡ã€ã«ã®ã€ã³ã¯ã«ãŒãã®é²æ¢ã«é¢ä¿ãããã¯ãå®çŸ©ã¯ãr-cpp-ifdef§8.2ã®ããã«èšè¿°ããå¿ èŠããããŸãã
äŸå€ïŒã¡ã€ã³ã¯ã©ã¹ã«é¢é£ä»ããããã宣èšãããã³ãå®è£ ãã®ãã¯ãå®çŸ©ã¯ãä»»æã«åŒã³åºãããšãã§ããŸãã
äŸïŒ#define ZZ_LIB_MACRO
0
r-nam-undïŒéå§ããªã
ã¢ã³ããŒã¹ã³ã¢ä»ãã®ååã
åœåèŠåã§ã¯ãã¢ã³ããŒã¹ã³ã¢ã§å§ãŸãã¿ã€ããŸãã¯å€æ°åã¯é€å€ãããŸãã èå¥åã§ã®2ã€ã®ã¢ã³ããŒã¹ã³ã¢ã®äœ¿çšã¯ãã³ã³ãã€ã©ã«ããå éšäœ¿çšã®ããã«ANSI-Cæšæºã«åŸã£ãŠäºçŽãããŠããŸãã
åäžã®ã¢ã³ããŒã¹ã³ã¢ã§å§ãŸãååã¯ãæšæºã©ã€ãã©ãªé¢æ°ã§ãã䜿çšãããŸãïŒäŸïŒã_mainãããã³ã_exitãïŒã
r-nam-twoundïŒ2ã€ã®ã¢ã³ããŒã¹ã³ã¢ãé£ç¶ããŠäœ¿çšããªãã§ãã ããã
ä»é²Bã¯ããã¹ãŠã®åœåèŠåã®äžè¬çãªè¡šãæäŸããŸãã
3. 2ã€ã®ã¹ã¿ã€ã«ã®æšå¥šäºé
s-nam-abbrevïŒç¥èªã®äœ¿çšé »åºŠãæžãããŸãã
ç¥èªãåºãç¥ãããŠããå Žåã«ã®ã¿ïŒäŒç€Ÿå ãŸãã¯äžçã§ïŒåèªãçç¥ããŸãã
ããšãã°ããDDXãã¯ãDelcamã§ç解ãããç¥èªã§ãã ã«ãŒãå€æ°ãiãã¯ãæšæºãããã°ã©ãã®ã·ã§ãŒãã«ããã§ããããarray_indexããããã¯ããã«åªããŠããŸãã èªã¿ã«ããååã¯æªããšèŠãªãããŸãã
s-nam-lengthïŒååã®é·ããç¡çã«ããªãã§ãã ããã
äžéšã®ç°å¢ã§ã¯ãèªèãããæåã®æ°ã«å¶éããããããååãé·ãããããªãã§ãã ããã ããšãã°ãunix 'ar'ã³ãã³ãã¯ã15æåããé·ããã¡ã€ã«åãåãæšãŠãŸãã
s-nam-descïŒåçŽã§ããããããååã䜿çšããŸãã
å€æ°ã®ååã¯ããã®äœ¿çšã«ã€ããŠèª¬æããå¿ èŠããããŸãã å€æ°åã«1ã€ã2ã€ã®åèªãå«ãŸããŠããå Žåãæé©ã§ãã 3ã®å Žåãããã¯ãã§ã«æ³šæãåŒãã4ã®å Žåãååã¯èªã¿ã«ããå ŽåããããŸãã 2åèªã®ååãäœæãããšãã¯ãæãéèŠãªåèªãæåã«çœ®ããŸãã
s-nam-difïŒååã¯å€§å¹ ã«ç°ãªãå¿ èŠããããŸãã
1ã2æåã ãç°ãªãå€æ°åã䜿çšããªãã§ãã ããã æåã®å Žåã«ã®ã¿ç°ãªãã¿ã€ãåã䜿çšããªãã§ãã ããã åæã«ãåæ§ã®æ©èœãå®è¡ããå€æ°ã«ã¯åæ§ã®ååã䜿çšããŸãã
s-nam-stdïŒæšæºã©ã€ãã©ãªã§äœ¿çšãããååã®äœ¿çšãé¿ããŸãã
ãã¯ãå®çŸ©ã¯ã«ãŒã«ã«ãã£ãŠå¶éãããªããããããã¯ããŒã«ã«ãªããžã§ã¯ãã«ãæšå¥šãããŸãïŒæšæºã©ã€ãã©ãªå ã®ãªããžã§ã¯ãã«ãã¬ãã£ãã¯ã¹ãããå Žåãåé¡ã¯è»œæžãããŸãïŒã æšæºã©ã€ãã©ãªã§ã¯éåžžã«äžè¬çãªïŒãããã£ãŠåºã䜿çšãããŠããïŒåèªïŒããšãã°ããã€ã³ããã¯ã¹ãïŒã䜿çšãããããšããããããããã¯ã«ãŒã«ã§ã¯ãªãæšå¥šäºé ã§ãã
3.4ãã¡ã€ã«å
ãã¡ã€ã«ã«ã¯4ã€ã®ã¿ã€ãããããŸãã
- ããããŒãã¡ã€ã«ã«ã¯åå®çŸ©ãé¢æ°ãããã¿ã€ããªã©ãå«ãŸããŸãããœãŒã¹ãã¡ã€ã«ã«ã¯ã¯ã©ã¹å®è£ ãªã©ãå«ãŸããŸããã€ã³ã©ã€ã³ãã¡ã€ã«ã«ã¯ã€ã³ã©ã€ã³é¢æ°ãå«ãŸããŸãã
- ã¢ãŠãã©ã€ã³ãã¡ã€ã«ã«ãããã€ã³ã©ã€ã³é¢æ°ã®éã€ã³ã©ã€ã³ããŒãžã§ã³ããããã°ç®çã§äœ¿çšã§ããããã«ãªããŸãã
ãã¡ã€ã«ã®åœåèŠåã以äžã«ç€ºããŸãã
r-nam-clfileïŒã¯ã©ã¹å®è£ ãå«ããã¡ã€ã«ã«ã¯ãã¯ã©ã¹ãšåãååãå¿ èŠã§ãã
ãã¡ã€ã«åã¯ãã¯ã©ã¹åãšåã倧æåãšå°æåã§èšè¿°ããå¿ èŠããããŸãã ããã¯ãã¡ã€ã³ã¯ã©ã¹ã«ãé©çšãããŸãã ãã®ã«ãŒã«ã¯ãããããŒãã€ã³ã©ã€ã³ãããã³ãœãŒã¹ãã¡ã€ã«ã«é©çšãããŸãã
r-nam-utfileïŒäžé£ã®ãŠãŒãã£ãªãã£ãå®è£ ãããã¡ã€ã«ã«ã¯ãã©ã€ãã©ãªãã¬ãã£ãã¯ã¹ãåã«ä»ããå°æåã®ååãå¿ èŠã§ãã
ãã¬ãã£ãã¯ã¹ã¯ãã¢ã³ããŒã¹ã³ã¢1ã€ã§ååãšåºåãå¿ èŠããããŸãã ãã®ã«ãŒã«ã¯ãããããŒãã€ã³ã©ã€ã³ãããã³ãœãŒã¹ãã¡ã€ã«ã«é©çšãããŸãã
r-nam-enumïŒåæåã1ã€ã ãå«ãããããŒãã¡ã€ã«ã«ã¯ãåæåãšåãååãä»ããããšãã§ããŸãã
r-nam-extïŒãã¡ã€ã«æ¡åŒµåïŒããããŒ.hããœãŒã¹ããã¹ã/ã¢ãŠãã©ã€ã³.cãã€ã³ã©ã€ã³.iã
Ellemtelã¯ãCã³ã³ãã€ã©ãšC ++ã³ã³ãã€ã©ã®äž¡æ¹ã§åãå ¥ãå¯èœãªãã¡ã€ã«ã«å¯ŸããŠãããhhããããccããããiccããäºçŽããããhããšã.cããäºçŽããŸãã ãã¹ãŠã®Delcamã³ãŒãã¯ãã«ãŒã«ã«åŸã£ãŠC ++ãã³ã³ãã€ã«ããå¿ èŠãããããããã®ãããªåºå¥ã¯è¡ããŸããã
r-nam-outlineïŒã¢ãŠãã©ã€ã³ãã¡ã€ã«ã«ã¯ã察å¿ããããããŒãšåãååãä»ããããããã¡ã€ã«æ¡åŒµåãã®åã«ãIããè¿œå ãããŸãã
r-nam-splitïŒãœãŒã¹ããã¹ããã¡ã€ã«ã倧ãããªããåå²ããå¿ èŠãããå Žåãæ°ããåãã¡ã€ã«ã®ååã¯ãå€ããã¡ã€ã«ã®ååã«ã¢ã³ããŒã¹ã³ã¢ãšå°æåã®åèªãç¶ãããã®ã«ãªããŸãã
ããšãã°ãzzClass.cãã¡ã€ã«ã«ãå¥ã®ãã¡ã€ã«ã«å®è£ ãããŠããã¡ã³ããŒé¢æ°zzClass :: memberïŒïŒãå«ãŸããŠããå Žåããã®ãã¡ã€ã«ã¯zzClass_member.cãšåŒã°ããå ŽåããããŸãã
äŸïŒzzClass.cïŒzzClassã¯ã©ã¹ãå®è£ ãããœãŒã¹ãã¡ã€ã«ã zz_utils.hïŒãŠãŒãã£ãªãã£ããããŒãã¡ã€ã«ã zz_utils.iïŒzz_utils.hã§å®çŸ©ãããŠããã€ã³ã©ã€ã³é¢æ°ã®å®è£ ã
zzClassI.cïŒzzClass.hã§å®çŸ©ãããŠããã€ã³ã©ã€ã³é¢æ°ã®ã¢ãŠãã©ã€ã³ããŒãžã§ã³ã
4 ã³ãŒã圢åŒãšããã¹ã圢åŒ
ãã®ã»ã¯ã·ã§ã³ã§ã¯ãã³ãŒãã®å€èŠ³ãå®çŸ©ããŸãã
4. 1äžè¬çãªã³ãŒã圢åŒ
r-fmt-braceïŒæå¹ãªãã©ã±ããã¹ã¿ã€ã«ã®ã¿ã䜿çšããŸãã
ãã©ã±ããã¯ãKïŒRã®ãçãã圢åŒã«åŸã£ãŠé 眮ããå¿ èŠããããŸããéå§ãã©ã±ããã¯ãåã®ã³ãŒãã®çŽåŸã®è¡æ«ã«ãããŸãã éããã£ãã¯ãéããã£ããé 眮ãããŠããè¡ã®æåã®é空çœæåã«å¯Ÿå¿ããåã®å¥ã®è¡ã«ãããŸãã 2ã€ã®è§æ¬åŒ§ã®éã®ã³ãŒãã¯ã€ã³ãã³ããããŠããŸãã
äŸïŒ
ifïŒfunction_returns_trueïŒïŒïŒ{
execute_this_codeïŒïŒ;
}
äŸå€ïŒé¢æ°ã®éå§ãã©ã±ããïŒ{ïŒã¯å¥ã®è¡ã«ãªããã°ãªããŸããã
äŸå€ïŒé¢æ°ã®åŒæ°ã¯å¥ã®è¡ãå ããå ŽåããããŸãã
r-fmt-linesïŒæååã¯79æåãè¶ ããŠã¯ãªããŸããã
ãã®å¶éã¯ãç§ãã¡ã䜿çšããŠããæšæºã®ãemacsãèšå®ãé·ãè¡ãæããããŸããŠãããŠã£ã³ããŠãäœæãããšããäºå®ã®ããã«éžæãããŸããã ããã«ã80x24ïŒ80x25ïŒã¯å€ã端æ«ããã®äžè¬çãªãŠã£ã³ããŠãµã€ãºã§ãããæå°åãããè¡ã¯èªã¿ã«ãããªããŸãã
r-fmt-indentïŒã€ã³ãã³ãã¯2ã€ã®ã¹ããŒã¹ã§ãã
ããžãã¯ã®æ°ããã¬ãã«ããšã«1ã¬ãã«æ»ããŸãã
äŸå€ïŒèŠçŽ ãæŽåããŠããå Žåãif-elseã·ãŒã±ã³ã¹ã¯èªã¿ããããªããŸã-r-if-elseifãåç §ããŠãã ããã
r-fmt-tabsïŒã¿ãæåã䜿çšããªãã§ãã ããã
ã³ãŒãã®ãµããŒãäžã«ã€ã³ãã³ããç¶æããã®ãé£ãããªããŸãã ä»ã®ãšããŸããã¯ãªãã£ã©ã¯ã¿ãŒã®äœ¿çšã¯é¿ããŠãã ããã
s-fmt-sepïŒäžèŠãªã»ãã¬ãŒã¿ã䜿çšããªãã§ãã ããã
äŸïŒåæã®æåŸã®å€ã®åŸã«äœåãªã³ã³ãã䜿çšããªãã§ãã ããïŒãstrictãã³ã³ãã€ã©ãŒã¯ãIBMãªã©ã®ãšã©ãŒãã¹ããŒããŸãïŒã
4. 2ãªãã¬ãŒã¿ãŒ
s-fmt-longïŒéåžžã«é·ãã¹ããŒãã¡ã³ãã®äœ¿çšãé¿ããŸãã
代ããã«ãããã€ãã®çãã¹ããŒãã¡ã³ãã䜿çšããŠãã ããã
s-fmt-statïŒåã¹ããŒãã¡ã³ããå¥ã ã®è¡ã«é 眮ããŸãã
ãããè¡ããªãå Žåãããã°ã©ã ã®æçããæ¹åãããããšã確èªããå¿ èŠããããŸãã
s-fmt-colïŒåãè¡ã«è€æ°ã®ã¹ããŒãã¡ã³ããããå Žåã¯ãã¹ããŒãã¡ã³ããåã«ã°ã«ãŒãåããŸãã
s-fmt-splitïŒæ¹è¡ãããšãã¯ããã1ã¬ãã«æ»ããŸãã
1è¡ãè€æ°ã®è¡ã«åå²ããå¿ èŠãããå Žåã¯ãæåã®è¡ãé€ããã¹ãŠã®è¡ã1ã¬ãã«è¿œå ããŸãã äŸå€ïŒs-fmt-splitexprãåç §ããŠãã ããã
äŸå€ïŒç®¡çæ§é ã¯ã察å¿ããã»ã¯ã·ã§ã³ïŒÂ§6ïŒã§èª¬æãããŠããããã«åå²ãããŸãã
4. 3ã€ã®åŒ
s-fmt-splitexprïŒåŒãåå²ãããšããåãè«çã¬ãã«ã®éšååŒã¯åçŽã«æŽåããå¿ èŠããããŸãã
ãã¹ãã¬ãã«ãé«ãå Žæã§åŒãå£ããªãã§ãã ããã ç®è¡æŒç®åãšè«çæŒç®åã¯ã次ã®è¡ã®å é ã§ã¯ãªããè¡ã®æ«å°Ÿã«é 眮ããŠãã ããã ããã«ãããé·ãåŒã®ããžãã¯ãç°¡åã«ãã¬ãŒã¹ã§ããŸãã
äŸïŒ
çµæ=ïŒïŒïŒx1 + 1ïŒ*ïŒx1 + 1ïŒïŒ-
ïŒïŒy1 + 1ïŒ*ïŒy1 + 1ïŒïŒïŒ;
äŸïŒå²ãåœãŠåŒã¯æ¬¡ã®ããã«å解ã§ããŸãã
çµæ= a_long *æ蟺+
2.0 * cosïŒã¢ã«ãã¡ïŒ;
å£ããåŒãæŽåãããå ŽåããµãåŒã®ãããããŸãã¯äž¡æ¹ãæ¬åŒ§ã§å²ãå¿ èŠããããŸãã
äŸïŒ
ifïŒïŒa && bïŒ||
cïŒ{//ãããããªã
次ã®ããã«æžãæ¹ãè¯ãã§ãã
ifïŒïŒa && bïŒ||
©ïŒ{//ã¯ããã«è¯ã
s-fmt-precïŒæäœãæ確ã«ããããã«ãããé »ç¹ã«æ¬åŒ§ã䜿çšããŸãã
èŠããŠããªãéããããŒãã«ã®åªå é äœãæ¢ããªãã§ãã ããã代ããã«æ¬åŒ§ã䜿çšããŠãã ããã æäœã®åªå é äœãæãåºããªãå Žåãã³ãŒããèªã¿åã£ã人ããããèŠããŠããªãå¯èœæ§ãé«ããªããŸãã ååãšããŠãæäœ+ã/ãš+ã-ã®éã®åªå é äœã ä»ã®ãã¹ãŠã®å Žåã«ã¯æ¬åŒ§ã䜿çšããŸãã
4. 4ã€ã®ã¹ããŒã¹
ãããã®ã¬ã€ãã©ã€ã³ã¯ãã€ã³ãã³ãã«äœ¿çšãããã¹ããŒã¹ã§ã¯ãªããè¡å ã®ã¹ããŒã¹ã«é©çšãããŸãã
- è€æ°ã®ã¹ããŒã¹ã䜿çšããªãã§ãã ããã
ïŒããšãã°ã 'class <class>'ã§æ€çŽ¢ãããšãã¯ã©ã¹<clas s>ã®å®çŸ©ãèŠã€ãããŸã ïŒã - ãã€ã³ã¿ãŒå€æ°ãšã[ãã®éã«ã¹ããŒã¹ã䜿çšããªãã§ãã ããïŒããšãã°ããarray [ãã§æ€çŽ¢ãããšãé åã®èŠçŽ ãžã®åç §ãèŠã€ããã¯ãã§ãïŒã é¢æ°åãš 'ïŒ'ã®éã«ã¹ããŒã¹ã䜿çšããªãã§ãã ããïŒããšãã°ã 'funcïŒ'ã§æ€çŽ¢ãããšããã¹ãŠã®é¢æ°åŒã³åºããèŠã€ãããŸãïŒãåžžã« 'ïŒ'ãšå¶åŸ¡ã¹ããŒãã¡ã³ãã®éã«ã¹ããŒã¹ãå ¥åããŸãïŒããšãã°ã 'whileïŒxïŒ'ã䜿çšãã ãwhileïŒxïŒãã§ã¯ãããŸããïŒåžžã«ã{ããšã}ãã®åã«ã¹ããŒã¹ãå ¥åããŸãïŒè¡ã®å é ã«ããå Žåãé€ãïŒã
- åžžã«ã{ããšã}ãã®åŸã«ã¹ããŒã¹ãå ¥åããŸãïŒè¡æ«ã«ããå Žåãé€ãïŒã
- æå 'ã;ïŒ]'ã®åã«ã¹ããŒã¹ãå ¥ã ãªãã§ãã ãã ã
- 'ïŒ'ãŸã㯠']'ã®åŸã«ã¹ããŒã¹ãå ¥åããªãã§ãã ãããå®çŸ©ãšåŒã®ã³ã³ãã®åŸã«ã¹ããŒã¹ãé 眮ããããšããå§ãããŸãããé¢æ°åŒã³åºãã®åŒæ°ã®éã«ã¹ããŒã¹ãé 眮ããããšã¯æšå¥šãããŸãããåé æŒç®ãšãªãã©ã³ãã®éã«ã¹ããŒã¹ãå ¥åããŸããã::ããããããã->ãã®ååŸã«ã¹ããŒã¹ã䜿çšããªãã§ãã ããããŒã¯ãŒããæŒç®åãã®åŸã«ã¹ããŒã¹ãå ¥åããªãã§ãã ããã
- äžèšã®æšå¥šäºé ãé€ããæŒç®åã®ååŸã®ã¹ããŒã¹ã¯ãªãã·ã§ã³ã§ãã
s-fmt-spaceïŒã¹ããŒã¹ã®äœ¿çšã«é¢ããã¬ã€ãã©ã€ã³ã«åŸã£ãŠãã ããã
5 ã³ã¡ã³ã
ãã®ã»ã¯ã·ã§ã³ã§ã¯ãã³ã¡ã³ãã®æžãæ¹ã«ã€ããŠèª¬æããŸãã ãã®ããã¥ã¡ã³ãã®å¥ã®éšåã§ã¯ãã³ã¡ã³ããæžãå Žæã«ã€ããŠèª¬æããŸãã