White scenery @showyou, hatena

If you have any comments, you may also send twitter @shsub or @showyou.

Entries from 2006-06-29 to 1 day

なぞ

const int x = 0; const int *p = &x; int *p2 = (int *)p; *p2 = 1; printf("%d\n",x); ↑をVC6のデバッグモードで、printfの行でbreakするとx=1と出るのに、出力は0. const int xをint xにすると1と出力される。 なんでろー?

PHP+MeCab

ldapが無いって怒られてるので、インストール さらにphp.iniのextentionsのパスを、ldap.soがあるとこに変更。 ・・以上でmecabもうごいたっぽい。ipadicで怒られるけど。