
About input 10MB file to code.
Hi,
You can try the following code snippet:
while ( XXX.read(buffersize,1024))
{
..
Quote:
}
Then, use XXX.gcount() to get the last unformatted input operation. I hope
this helps.
Best Regards,
Leo Chen
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
| Subject: About input 10MB file to code.
| Date: Mon, 2 Sep 2002 13:03:20 +0800
| Lines: 10
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
| Newsgroups: microsoft.public.vc.language
| NNTP-Posting-Host: 61.221.212.235
| Path: cpmsftngxa08!tkmsftngp01!tkmsftngp08
| Xref: cpmsftngxa08 microsoft.public.vc.language:170180
| X-Tomcat-NG: microsoft.public.vc.language
|
| Hi...everyone
| I want input 10MB file in my code.
| And I use XXX.read(buffersize,1024) to control size to input.
| But,only I can load data one time.
| I can't input next data.
| How can I do to input data coutinue until end of file.
| Or I must use another ways to do this job.
| Thanks for any reply.
|
|
|