Click here to Skip to main content
15,913,669 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerThis is the solution Pin
olivier10-Feb-03 23:06
olivier10-Feb-03 23:06 
GeneralMath question.. strings and int's.. Pin
RobJones10-Feb-03 4:24
RobJones10-Feb-03 4:24 
GeneralRe: Math question.. strings and int's.. Pin
Chris Losinger10-Feb-03 4:27
professionalChris Losinger10-Feb-03 4:27 
GeneralRe: Math question.. strings and int's.. Pin
RobJones10-Feb-03 4:55
RobJones10-Feb-03 4:55 
GeneralView large text files. Pin
Mathias S.10-Feb-03 4:13
Mathias S.10-Feb-03 4:13 
GeneralRe: View large text files. Pin
Navin10-Feb-03 4:38
Navin10-Feb-03 4:38 
GeneralRe: View large text files. Pin
Ted Ferenc10-Feb-03 6:33
Ted Ferenc10-Feb-03 6:33 
GeneralRe: View large text files. Pin
David Chamberlain10-Feb-03 6:47
David Chamberlain10-Feb-03 6:47 
A good way to access files that are very large is to use memory mapped files. PJ Naughter has a good class wrapper to handle implementing them. Essentially, the file is mapped into memory and you access it (forwards or backwards) with pointers as if everything were in an array. The operating system handles all of the buffering of data for you.

You can take any section of the file and do with it what you want in any sort of control, and it works for both read-only and writeable files. I have used memory mapped files that are on the order of 600+ MB without difficulty.

Dave

"You can say that again." -- Dept. of Redundancy Dept.
GeneralRe: View large text files. Yes MMF. Pin
Neville Franks10-Feb-03 9:07
Neville Franks10-Feb-03 9:07 
GeneralSetWindowPos and GetWindowRec Pin
jeremysay10-Feb-03 3:54
jeremysay10-Feb-03 3:54 
GeneralRe: SetWindowPos and GetWindowRec Pin
HENDRIK R10-Feb-03 4:00
HENDRIK R10-Feb-03 4:00 
GeneralRe: SetWindowPos and GetWindowRec Pin
jeremysay10-Feb-03 4:26
jeremysay10-Feb-03 4:26 
GeneralRe: SetWindowPos and GetWindowRec Pin
HENDRIK R10-Feb-03 5:19
HENDRIK R10-Feb-03 5:19 
GeneralRe: SetWindowPos and GetWindowRec Pin
jeremysay10-Feb-03 20:56
jeremysay10-Feb-03 20:56 
GeneralRe: SetWindowPos and GetWindowRec Pin
HENDRIK R10-Feb-03 21:12
HENDRIK R10-Feb-03 21:12 
GeneralRe: SetWindowPos and GetWindowRec Pin
jeremysay10-Feb-03 21:25
jeremysay10-Feb-03 21:25 
GeneralRe: SetWindowPos and GetWindowRec Pin
HENDRIK R10-Feb-03 21:56
HENDRIK R10-Feb-03 21:56 
GeneralRe: SetWindowPos and GetWindowRec Pin
jeremysay10-Feb-03 21:37
jeremysay10-Feb-03 21:37 
GeneralRe: SetWindowPos and GetWindowRec Pin
HENDRIK R10-Feb-03 21:52
HENDRIK R10-Feb-03 21:52 
GeneralRe: SetWindowPos and GetWindowRec Pin
jeremysay10-Feb-03 22:23
jeremysay10-Feb-03 22:23 
GeneralRe: SetWindowPos and GetWindowRec Pin
HENDRIK R10-Feb-03 22:30
HENDRIK R10-Feb-03 22:30 
GeneralRe: SetWindowPos and GetWindowRec Pin
HENDRIK R10-Feb-03 22:36
HENDRIK R10-Feb-03 22:36 
GeneralRe: SetWindowPos and GetWindowRec Pin
jeremysay10-Feb-03 22:48
jeremysay10-Feb-03 22:48 
QuestionCListCtrl and SEtItemIndex()? Pin
ns10-Feb-03 3:38
ns10-Feb-03 3:38 
AnswerRe: CListCtrl and SEtItemIndex()? Pin
HENDRIK R10-Feb-03 3:57
HENDRIK R10-Feb-03 3:57 

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.