ToDo:
¸Ä¿Í¾ðÊó¤òƱ°Õ¤Î¾å¤ÇÇäÇ㤹¤ë¡£
¤Ê¤ó¤«¥á¥¢¥É100±ß½»½ê1000±ß¤È¤«¤ß¤¿¤¤¤Ê´¶¤¸¤Ç ¶â¤Ëº¤¤Ã¤¿¿Í¤¬¿ÈÇä¤ê¤ß¤¿¤¤¤Ê´¶¤¸¤ÇÇä¤ë¡£
¤É¤¦¹Í¤¨¤Æ¤â¤â¤¦¤«¤é¤Ê¤¤¡£ ¤â¤¦¤«¤é¤Ê¤¤Íýͳ¤Ï100¸Ä¤¯¤é¤¤¤¢¤ë¤±¤É¡¢ ¶â¤Ëº¤¤Ã¤¿¿Í¤Î¸Ä¿Í¾ðÊó¤Ê¤ó¤Æ¤¤¤é¤ó¤È¤¤¤¦¤Î¤¬¡£
(01:02)
¥¹¥Ñ¥à¤È¤«¤â¤¦¤Ê¤ó¤«Ê̤ˤ¤¤¤¤è¤Ã¤Æµ¤Ê¬¤Ë¤Ê¤Ã¤Æ¤Ï¤ä¿ôǯ¤Ê¤Î¤Ç¡¢ ¤â¤¦¤à¤·¤í¥á¥¢¥É¤È¤«¤Î¾ðÊóÇä¤ì¤Í¡¼¤«¤Ê¡¼¤È¤«»×¤Ã¤¿¤Î¤À¤¬¡£
(01:03)
http://d.hatena.ne.jp/giveup/20070821#c1188016322
Berlin ¤È¤«¤É¤¦¤Ê¤Ã¤¿¤Î¤«¤Ê¤¡¡£
̾Á°ÊѤï¤Ã¤¿¸å»à¤ó¤À¤Ã¤Æ´¶¤¸¤«¡£
(13:35)
¤³¤¦¤Ê¤ó¤«µ¤Ê¬¤ÇÇã¤Ã¤¿¤ó¤À¤±¤É°Õ³°¤ÈÌÌÇò¤«¤Ã¤¿¡¢ ¤É¤Ã¤Á¤«¤Ã¤Æ¤¤¤¦¤È°¤¤°ÕÌ£¤ÎÊý¤Ç¡£
¤Ê¤ó¤«¤Ò¤í¤æ¤¤Ã¤Æ¤¹¤´¤¤¿Í¤Ê¤ó¤«¤Ê¡¼¤È »×¤Ã¤Æ¤¿¤±¤É¤³¤ÎËÜÆɤó¤Ç¤ß¤ë¤È¤Ê¤ó¤« ÉáÄ̤Υ¢¥ë¥Õ¥¡¥Ö¥í¥¬¡¼¤ß¤¿¤¤¤Ê´¶¤¸¤«¤¡¤È¤¤¤¦¡£
¤Ê¤ó¤«¤È¤ê¤¢¤¨¤ºÊ¸¾Ï¤¬ÆüËܸì¤È¤·¤ÆÊø²õ¤·¤Æ¤ë¤· ÏÀÍý¤â̵Ãã¶ìÃã¤À¤Ê¡¼¤È¤«»×¤Ã¤Æ¤¿¤ó¤À¤±¤É¡¢ ¤¢¤È¤¬¤¤Ë¤è¤ë¤È¥¤¥ó¥¿¥Ó¥å¡¼¤«¤é¾¿Í¤¬½ñ¤¤¤¿¤é¤·¤¤¡£ ¤Ê¤ë¤Û¤É¡£
¤Ë¤·¤Æ¤â¸À¤Ã¤Æ¤ëÆâÍƤ¬¤ä¤Ã¤Ñ ¥¢¥ë¥Õ¥¡¥Ö¥í¥¬¡¼¤¬¥«¥ó¤È¥Ï¥Ã¥¿¥ê¤ÇÃý¤Ã¤Æ¤ë¤À¤±´¶¤Ð¤«¤ê¤Ç¤Ë¤ó¤È¤â¤«¤ó¤È¤â¡£
¤°¤°¤ë¤Ï¥ª¡¼¥×¥ó¥½¡¼¥¹¤Ç¤Ê¤ó¤â½Ð¤·¤Æ¤Í¡¼¤Ã¤Æ½ñ¤¤¤Æ¤¢¤Ã¤¿¤±¤É flags ¤È¤«¤½¤Î¤Ø¤ó¤Ï¤½¤ó¤¯¤é¤¤¥Þ¥¤¥Ê¡¼¤Ê¤ó¤À¤Ê¤¡¡£
ÆâÍƤâ¤Ê¤ó¤«¤È¤ê¤¢¤¨¤º¤Ê¤ó¤Ç¤âÈá´ÑŪ¤Ë¸À¤Ã¤Æ¤ß¤ë·Ý°ìËܤäƴ¶¤¸¤Ç¡¢ ¤È¤Æ¤â¤Ä¤Þ¤é¤Ê¤¤¤Î¤¬µÕ¤Ë¤Ê¤ó¤«ÌÌÇò¤¤¤È¤¤¤¦¤«¡£
¤¢¤È¤Ê¤ó¤«¥¤¥ó¥¿¥Ó¥å¡¼¤¬¤¤¤¯¤Ä¤«¤¢¤Ã¤¿¤±¤É ¤³¤ì¤â¤Ê¤ó¤«¥Ö¥í¥¬¡¼¤Ê´¶¤¸¤À¤Ã¤¿¡£ ¤ª¸ß¤¤Áê¼ê¤ÎÃΤé¤ó¤³¤È¤òÃ챤Ҥ±¤é¤«¤·¤Æ½Ð¤¹¤±¤É ¤ª¸ß¤¤¥¹¥ë¡¼¤·¤¢¤¦¤ß¤¿¤¤¤Ê¤½¤¦¤¤¤¦¥¢¥ì¡£ ¤Þ¤¡¤Ç¤â¤½¤ì¤âÊÔ½¸Æþ¤Ã¤Æ¤ë¤ß¤¿¤¤¤Ê¤Î¤Ç¤è¤¯¤ï¤«¤é¤ó¤Î¤Ç¤¢¤Ã¤¿¡£
¤Þ¤È¤á¤ë¤È°Æ³°ÉáÄ̤Τ³¤È¸À¤Ã¤Æ¤ë¤ó¤À¤Ê¡¼¤È¤¤¤¦¤Î¤¬ÌÌÇò¤«¤Ã¤¿¡£
(14:04)
http://natu.txt-nifty.com/natsutan/2007/08/c_858f.html
ÉáÄÌ¤Ë¡Ö main() ¤¬ºÇ¸å¤Ë¤¢¤ë¤Î¤¬µ¤»ý¤Á°¤¤¡×¤Ã¤Æ¤¤¤¦ ´¶À¤¬¤¢¤ê¤¨¤ë¤ó¤Ç¤¹¤Í¡£
ËÍ¤Ï main ¤¬ºÇ¸å¤Ë¤Ê¤¤¤Î¤¬µ¤»ý¤Á°¤¤¡£
¤½¤¤¤¦¥¿¥¤¥×¤Î¿Í¤Ã¤Æ C++ ¤È¤«¤Ç¤â
class Hoge; class HogeMgr { // ... std::vector<Hoge*> hoges_; }; class Hoge { // ... };
¤ß¤¿¤¤¤Ê½ç½ø¤Ë¤Ê¤ë¤Î¤«¤·¤é¡£
(14:07)
http://gusmachine.blog49.fc2.com/blog-entry-213.html
¤È¤«¤ÎÍýͳ¤Ï¥ê¥ó¥«¤ÎÅÔ¹ç¤À¤í¤¦¤±¤É¡¢ ºÆµ¢¤È¤«¤Ë»ÈÍѤ·¤Á¤ã¤¤¤«¤ó¤Ã¤Æ¤Î¤ÏÍýͳ¤Ê¤ó¤À¤Ã¤±¤È¤¤¤¦¡£
(22:49)
Á° | 2007ǯ 8·î |
¼¡ | ||||
Æü | ·î | ²Ð | ¿å | ÌÚ | ¶â | ÅÚ |
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Á´¤Æ¥ê¥ó¥¯¥Õ¥ê¡¼¤Ç¤¹¡£ ¥³¡¼¥ÉÊҤϼ«Í³¤Ë»ÈÍѤ·¤Æ¤¤¤¿¤À¤¤¤Æ¹½¤¤¤Þ¤»¤ó¡£ ¤½¤Î¾¤Î¤â¤Î¤ÏGPL°·¤¤¤Ç¤¢¤ì¤Ð¤¢¤é¤æ¤ë»ÈÍѤ˴ؤ·¤Æʸ¶ç¤Ï¸À¤¤¤Þ¤»¤ó¡£ ¤Ê¤Ë¤«¤¢¤ì¤Ð²¼µ¥á¡¼¥ë¥¢¥É¥ì¥¹¤Ø¡£
shinh¤µ¤ó¤ÎC++¤ÎÎã¤Ï¡¢²¼¤Î¥³¡¼¥É¤Ë¶á¤¤¤Î¤Ç¥×¥í¥È¥¿¥¤¥×Àë¸À¤È¤Ï¤Ó¤ß¤ç¡¼¤Ë°ã¤¦¤È»×¤¤¤Þ¤¹¡£
#include <stdio.h>
int main(void);
int func(); /* ¥×¥í¥È¥¿¥¤¥×Àë¸À¤Ç¤Ï̵¤¤¤è¡¢°ú¿ô¥Á¥§¥Ã¥¯¤·¤Ê¤¤¤è */
int main(void)
{
printf("%d\n", func(1));
return 0;
}
int func(int x) { return ++x;}
ÀÎ(1990ǯÂå)¤Ë¤Ï¡¢¥×¥í¥È¥¿¥¤¥×Àë¸À¤¹¤ë¢ª¥«¥³¥¤¥¤¤ß¤¿¤¤¤ÊÊ·°Ïµ¤¤Ï¤¢¤ê¤Þ¤·¤¿¡£¤³¤ì¤Ê¤ó¤«¡¢void»á¤Î¹Í¤¨¤Ë¶á¤¤¤ó¤¸¤ã¤Ê¤¤¤Ç¤·¤ç¤¦¤«¡£http://www.cmagazine.jp/src/kinjite/c/oldstyle.html
main()¤¬ºÇ½é¤Ë̵¤¤¤ÈÍî¤ÁÃ夫¤Ê¤¤Íýͳ¤Ï¡¢BASIC¤ÈFortran¤Î±Æ¶Á¤¬Â礤¤¤È»×¤¤¤Þ¤¹¡£RUN¤·¤¿¤é¤Þ¤º¥½¡¼¥¹¤Î°ìÈÖ¤«¤é¼Â¹Ô¤·¤ÆÍߤ·¤¤¡£¤Þ¤¢¡¢¤¿¤¤¤·¤¿Íýͳ¤Ç¤Ï¤Ê¤¤¤Ç¤¹¡£
¤à¤à¥¯¥é¥¹¤ÎÁ°ÊýÀë¸À¤È¤Ï¾¯¤·°ã¤¦¤Î¤Ç¤¹¤Í¤à¤º¤«¤·¤¤¡£¤Ê¤ó¤«¥¯¥é¥¹¤È¤«¤È¤ê¤¢¤¨¤ºÁ´ÉôÁ°ÊýÀë¸À¤¹¤ë¥¹¥¿¥¤¥ë¤â¸«¤¿¤³¤È¤¬¤¢¤Ã¤¿µ¤¤¬¤·¤¿¤Î¤Ç¤Õ¤È½ñ¤¤¤Æ¤ß¤¿¤À¤±¤Ç¤·¤¿¡£
¶µ¤¨¤Æ¤¤¤¿¤À¤¤¤¿¥ê¥ó¥¯¤ß¤¿¤¤¤Ë¡¢Á°ÊýÀë¸À̵¤·¤Ç»È¤¦¤Î¤ÏÏÀ³°¤Ç¤¹¤·¥ª¥×¥·¥ç¥ó¤Ä¤±¤È¤±¤Ð warning ½Ð¤ë¤Î¤Ç¤Þ¤¡¤¤¤¤¤ó¤Ç¤¹¤¬¡¢¤ä¤Ã¤Ñ main ¤ò¸å¤Ë½ñ¤¤¤¿¤é¤¤¤¤¤ó¤¸¤ã¤Í¤È»×¤Ã¤Æ¤·¤Þ¤¤¤Þ¤¹¡£Ëͤâ BASIC ¾å¤¬¤ê¤Î¥Ï¥º¤Ê¤Î¤Ç¤¹¤¬¤½¤¤¤¦´¶³Ð¤Ï¤Ê¤ó¤«¾Ã¤¨¤Æ¤·¤Þ¤Ã¤¿¤ß¤¿¤¤¤Ç¡£¤È¤¤¤¦¤« C °Ê³°¤ÎÁ´¤Æ¤Î¸À¸ì¤Ï¥×¥í¥È¥¿¥¤¥×Àë¸À¤¤¤é¤ó¤·¥Þ¥¸¥á¤Ë½ñ¤¤¤¿¥¹¥¯¥ê¥×¥È¸À¸ì¤Ï¤¿¤¤¤Æ¤¤¥×¥í¥°¥é¥à¤Î°ìÈֺǸ夫¤é»Ï¤Þ¤ë¤·¡Ä¤È¤¤¤¦¤¢¤¿¤ê¤Ç¤½¤¦¤¤¤¦´¶³Ð¤Ï¾Ã¤¨¤Æ¤·¤Þ¤Ã¤¿¤Î¤«¤Ê¡¼¤È»×¤¤¤Þ¤¹¡£
¤¢¡¢¤¢¤È¤Õ¤È»×¤Ã¤¿¤Î¤Ç¤¹¤¬¡¢ K&R ¤È¤«¤Î»þÂå¤Ç¥×¥í¥È¥¿¥¤¥×¤Ïº£·Á¼°¤À¤±¤É¼ÂÁõ½ñ¤¯»þ¤Ï¸Å¤¤·Á¼°¤È¤«¤½¤ó¤Ê»þÂ夬¤¢¤Ã¤¿¤ê¤·¤¿¤ê¤Ï¤·¤Ê¤«¤Ã¤¿¤ó¤À¤í¤¦¤«Åª¤Ê¡£
¤³¤ì¤À¤È warning ½Ð¤Ê¤¤¤±¤É
void f(i) const char *i; {
printf("%s\n", i);
}
int main() {
f(1);
return 0;
}
f ¤ÎÉôʬ¤¬¤³¤ì¤À¤È½Ð¤Ê¤¤¤Î¤Ç
void f(const char *i) {
printf("%s\n", i);
}
¼ÂÁõ¤¬Á°¼Ô¤ÎµË¡¤À¤È¤É¤Î¤ß¤Á¥×¥í¥È¥¿¥¤¥×Àë¸ÀɬÍפÀ¤Í¡Ä! ¤È¤«Å¬Åö¤ËÌÑÁÛ¡£