Article View: fj.lang.c
Article #698[Q] ファイルの特定の位置を変更
From: sierra
Date: Wed, 11 Mar 1998 00:00
Date: Wed, 11 Mar 1998 00:00
10 lines
947 bytes
947 bytes
瑞原と申します。よろしくお願いします。 既にあるファイルを開き、特定の位置を変更するプログラムを考えています。 fopenで開きfseekで特定の位置に移動しfwriteで書き込んでfcloseで終了した のですが、fwriteで書き込んだ位置以降が消えてなくなっています。 ファイルの特定の位置を変更するにはどうすればいいものでしょうか… よろしくお願いします。
Technical Details
Message-ID:
<3506A0D3.3AA59CDA@geocities.co.jp>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: Japanese,JIS X-Google-Thread: 106434,8a84d598efbbed25,start X-Google-Attributes: gid106434,public From: sierra <sierra@geocities.co.jp> Subject: [Q] ファイルの特定の位置を変更 Date: 1998/03/11 Message-ID: <3506A0D3.3AA59CDA@geocities.co.jp> X-Deja-AN: 332988760 Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) Mime-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp Organization: Urban Internet, a Division of Urban Ecology Co. Ltd. Newsgroups: fj.lang.c