Click here to Skip to main content
15,880,905 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: source code car firetruck in c Pin
CPallini20-Dec-10 22:22
mveCPallini20-Dec-10 22:22 
AnswerRe: source code car firetruck in c Pin
Michael Schubert20-Dec-10 22:30
Michael Schubert20-Dec-10 22:30 
AnswerRe: source code car firetruck in c PinPopular
Smithers-Jones20-Dec-10 22:51
Smithers-Jones20-Dec-10 22:51 
AnswerRe: source code car firetruck in c Pin
Luc Pattyn21-Dec-10 1:59
sitebuilderLuc Pattyn21-Dec-10 1:59 
QuestionReading 4 GB file using 2 GB physical memory [modified] Pin
Adam Roderick J20-Dec-10 20:50
Adam Roderick J20-Dec-10 20:50 
AnswerRe: Reading 4 GB file using 2 GB physical memory Pin
bleedingfingers20-Dec-10 21:44
bleedingfingers20-Dec-10 21:44 
GeneralRe: Reading 4 GB file using 2 GB physical memory Pin
Adam Roderick J20-Dec-10 21:55
Adam Roderick J20-Dec-10 21:55 
GeneralRe: Reading 4 GB file using 2 GB physical memory Pin
bleedingfingers20-Dec-10 22:11
bleedingfingers20-Dec-10 22:11 
So you indeed need to read data in chunks as I said. Load a chunk and perform the search. Keep loading the next part of the file into the chunk until you get the data.

To do this, you may use memory mapped file or one of the various read(...) functions (Win32 API, CRT etc). Either way, you would still have to read the file in chunks.
...byte till it megahertz...

my donation to web rubbish

QuestionConvert to DLL Pin
Teoh Chia Wei20-Dec-10 18:36
Teoh Chia Wei20-Dec-10 18:36 
AnswerRe: Convert to DLL Pin
KingsGambit20-Dec-10 19:08
KingsGambit20-Dec-10 19:08 
AnswerRe: Convert to DLL Pin
Richard MacCutchan20-Dec-10 22:51
mveRichard MacCutchan20-Dec-10 22:51 
AnswerRe: Convert to DLL Pin
Stephen Hewitt22-Dec-10 1:30
Stephen Hewitt22-Dec-10 1:30 
GeneralRe: Convert to DLL Pin
Teoh Chia Wei22-Dec-10 15:50
Teoh Chia Wei22-Dec-10 15:50 
GeneralRe: Convert to DLL Pin
Teoh Chia Wei22-Dec-10 15:51
Teoh Chia Wei22-Dec-10 15:51 
Questionlookup plan for hashtable [modified] Pin
NarVish20-Dec-10 0:52
NarVish20-Dec-10 0:52 
AnswerRe: lookup plan for hashtable PinPopular
Richard MacCutchan20-Dec-10 1:04
mveRichard MacCutchan20-Dec-10 1:04 
AnswerRe: lookup plan for hashtable Pin
Alan Balkany20-Dec-10 5:16
Alan Balkany20-Dec-10 5:16 
GeneralRe: lookup plan for hashtable Pin
NarVish21-Dec-10 2:44
NarVish21-Dec-10 2:44 
GeneralRe: lookup plan for hashtable Pin
David Crow21-Dec-10 2:54
David Crow21-Dec-10 2:54 
QuestionVisual C++ Pin
John50219-Dec-10 22:22
John50219-Dec-10 22:22 
AnswerRe: Visual C++ Pin
Maximilien20-Dec-10 0:38
Maximilien20-Dec-10 0:38 
GeneralRe: Visual C++ Pin
John50220-Dec-10 1:51
John50220-Dec-10 1:51 
GeneralRe: Visual C++ Pin
Maximilien20-Dec-10 3:15
Maximilien20-Dec-10 3:15 
GeneralRe: Visual C++ Pin
Michael Schubert20-Dec-10 3:26
Michael Schubert20-Dec-10 3:26 
GeneralRe: Visual C++ Pin
Maximilien20-Dec-10 3:33
Maximilien20-Dec-10 3:33 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.