🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #5825

Re: binary file operation

#5825
From: Hans Galema
Date: Wed, 06 Jul 2005 08:00
10 lines
1144 bytes
fwang11 wrote:
> How to read and write binary file in BCB?

1. fopen(), fread(), fwrite(), fclose().

2. TFileStream.

There are more ways.

Hans.
Technical Details
Message-ID: <42cb90a1$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news2.google.com!proxad.net!gatel-ffm!gatel-ffm!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <42cb8e36$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,2b6a6584724f2d7
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Wed, 06 Jul 2005 10:00:55 +0200
From: Hans Galema <notused@notused.nl>
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: binary file operation
References: <42cb8e36$1@newsgroups.borland.com>
In-Reply-To: <42cb8e36$1@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 129.125.201.248
Message-ID: <42cb90a1$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1120637089 129.125.201.248 (6 Jul 2005 01:04:49 -0700)
Lines: 10
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news2.google.com!proxad.net!gatel-ffm!gatel-ffm!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail