Entries from 2010-04-24 to 1 day

ファイルを追記モードで開くとseekできない、という話 (C言語の高水準I/OとかPerlとか)

C言語に初めて触ってから20年のロートルですが今まで知りませんでした。man fopen より。 The fopen() function opens the file whose name is the string pointed to by filename and associates a stream with it. ``a'' Open for writing. The file is cr…