移転ãã¾ãã http://please-sleep.cou929.nu/20091215.html
移転ãã¾ãã http://please-sleep.cou929.nu/20091215.html
c/c++ 㧠mysql ã®ãã¼ã¿ãã¼ã¹ã¸ã¢ã¯ã»ã¹ããæ¹æ³ãã¾ã¨ãã¾ãã rubyãphpã¨æ¯ã¹ãã¨c/c++ã§ã®ã³ã¼ãã£ã³ã°ã¯ããªãé¢åã§ããããã¾ãè¨è¿°ã§ããã°ããã©ã¼ãã³ã¹ãããªãåä¸ã§ããããã§ãã åèURL http://dev.mysql.com/doc/refman/5.5/en/c.html c/c++ã§sqliteã使ãæ¹æ³ - ã´ãã´ãã´ãï¼ - Linuxã¨ãããã°ã©ãã³ã°ã®è¦ãæ¸ã - DBã¸ã®æ¥ç¶ #include <mysql.h> MYSQL mysql; mysql = mysql_init(NULL); if (NULL==mysql) { // åæå失æ } const char *hostname = NULL; const char *username = "user"; const char *password = "pass"; const
ä»çµã¿ãå¤ã£ã¦ãã¾ãã° Makefile ã¯ç°¡æ½ã«æ¸ãã¾ãï¼$(CC) ã¨ã $@ ã¨ã $< ãªãã¦å¤æ°ã¯ä½¿ã£ããè² ãã§ãï¼ åºæ¬(ãã®1) ã½ã¼ã¹ã³ã¼ã hoge.c ãã å®è¡å½¢å¼ã®ãã¤ã㪠hoge ãçæããMakefileã¯ï¼ä»¥ä¸ã®ããã«æ¸ãã¾ããã all: hogeããã ãã§ãï¼ãã㧠$ make all ã¨ãã㨠hoge ãçæããã¾ã éè¦ãªç¹ã¯ï¼ééã£ã¦ã all: hoge hoge: hoge.c $(CC) hoge.c -o hogeã®ãããªMakefileãæ¸ããªããã¨ã§ãï¼ãã®ãããªMakefileã§ã¯ #!/bin/sh CC=gcc $CC hoge.c -o hoge ã¨ãããããªã·ã§ã«ã¹ã¯ãªããã¨åç¨åº¦ã®ä½¿ãåæããããã¾ããï¼ åºæ¬(ãã®2) ããã§ä¾ãã°-O3 ãä»ãã¦ã³ã³ãã¤ã«ãããå ´åãï¼-lm ãä»ãã¦ãªã³ã¯ãããå ´åã¯ä»¥ä¸ã®ããã«ã
移転ãã¾ãã http://please-sleep.cou929.nu/20090930.html
æä¾ã®100åãªã¹ãã ãã ããããã¾ã§ã®è¶£åãå¤ãããããã¹ã100ã©ã³ãã³ã°ãã¯æ¥½ããããå¤ããã°ãããªããæ¯å¹´ä¼¼ããããªããã¹ã100ãããããåºãã®ã飽ããããã³ãã®ã¨ãããã大å¦æ°å ¥çãã¨éæã£ã¦ãããã®ã®ããããã®ããã®ããã¯ãªã¹ããªã®ã ãèªãã§ãããã¤ãæªèªã®ãã¤ãèªã¿ãããã¤ãæ½åºããããµãè¿ãããã®ãã£ãããªã®ã ããã ã ãããä»åã¯ã©ã³ãã³ã°ãããªããæ¯ä½ã®ãªã¹ãã¯ãã大å¦æ師ãæ°å ¥çã«ãªã¹ã¹ã¡ããæ¬ããªãã ããã©ãããããã®é¸åºã¯ãããã®æã«ãªããã®ãä»ã¾ã§ã®ãªã¹ãä½æã®éç¨ã§ç¥ãåãããã®ãããèªã¾ãã°ãªã¹ããã«è¿½å ãããã®ãç©èªå±±ã«åºãã£ãã¾ã¾ã課é¡ã¨åãã¦ãããã®ãä¸å¿ã«100æããã ãã¡ãããã®100åãåèã«ãã¦ãããããæ¯ä½ãªã¹ãããèªåå°ç¨ã®ä¸è¦§ãä½ã£ã¦ããããæ¯ä½ã®ãªã¹ãã¯ä¸åå¼±ã«ãªãããå ã¨ãªã£ãã®ã¯ã以ä¸ã®ãªã¹ããããã¯ã¬ã¤ãã¯å¤ã ããããã大å¦
移転ãã¾ãã http://please-sleep.cou929.nu/20090816.html
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}