Click here to Skip to main content
16,017,100 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: Problem about debug, Please help! Pin
ThatsAlok13-Oct-05 21:10
ThatsAlok13-Oct-05 21:10 
QuestionRe: Problem about debug, Please help! Pin
ThatsAlok13-Oct-05 21:50
ThatsAlok13-Oct-05 21:50 
GeneralRe: Problem about debug, Please help! Pin
chenxiujie13-Oct-05 22:04
chenxiujie13-Oct-05 22:04 
QuestionDealing with Large Amounts of Data in Files Pin
Jenleonard13-Oct-05 13:12
Jenleonard13-Oct-05 13:12 
AnswerRe: Dealing with Large Amounts of Data in Files Pin
Ravi Bhavnani13-Oct-05 13:41
professionalRavi Bhavnani13-Oct-05 13:41 
AnswerRe: Dealing with Large Amounts of Data in Files Pin
Mohammad A Gdeisat13-Oct-05 14:21
Mohammad A Gdeisat13-Oct-05 14:21 
GeneralRe: Dealing with Large Amounts of Data in Files [ot] Pin
ThatsAlok13-Oct-05 19:17
ThatsAlok13-Oct-05 19:17 
GeneralRe: Dealing with Large Amounts of Data in Files [ot] Pin
Mohammad A Gdeisat14-Oct-05 6:08
Mohammad A Gdeisat14-Oct-05 6:08 
I am sorry, my signature is in arabic, and it has nothing with the answer, I hope that my answer to the post was submitted correctly, here what I wrote:

Well, if you dont want to read the whole file, you dont need to load the whole file.

That is, when first loading the file, load text from the file that fills only one page of your textbox, when the user moves the scroll bars of the textbox, you should determine where to go in the text file, load text that lie in that position and display it to the user.

The user does not care whether the whole text file is loaded or not, but when loading the text from the file only-as-needed, you can gain a very good performance instead of loading the whole text file.

You can load a 2GB text file in milliseconds with little memory usage, little cpu processing, and (almost) no disk load.

Regards,
Mohammad Gdeisat

GeneralRe: Dealing with Large Amounts of Data in Files [ot] Pin
ThatsAlok14-Oct-05 19:55
ThatsAlok14-Oct-05 19:55 
GeneralRe: Dealing with Large Amounts of Data in Files [ot] Pin
Mohammad A Gdeisat14-Oct-05 21:53
Mohammad A Gdeisat14-Oct-05 21:53 
GeneralRe: Dealing with Large Amounts of Data in Files [ot] Pin
ThatsAlok14-Oct-05 23:54
ThatsAlok14-Oct-05 23:54 
AnswerRe: Dealing with Large Amounts of Data in Files Pin
S Douglas14-Oct-05 1:00
professionalS Douglas14-Oct-05 1:00 
QuestionBitmap over video problem (VMR9) again... Pin
Storm-blade13-Oct-05 12:42
professionalStorm-blade13-Oct-05 12:42 
QuestionRelease Build Error Pin
itkid13-Oct-05 11:06
itkid13-Oct-05 11:06 
AnswerRe: Release Build Error Pin
Anonymous13-Oct-05 11:42
Anonymous13-Oct-05 11:42 
AnswerRe: Release Build Error Pin
kakan13-Oct-05 19:23
professionalkakan13-Oct-05 19:23 
Questionany good assembly language links? Pin
valerie9913-Oct-05 10:53
valerie9913-Oct-05 10:53 
AnswerRe: any good assembly language links? Pin
ThatsAlok13-Oct-05 19:13
ThatsAlok13-Oct-05 19:13 
Questiontwo projects in 1 solution Pin
LeeeNN13-Oct-05 10:28
LeeeNN13-Oct-05 10:28 
AnswerRe: two projects in 1 solution Pin
FlamTaps13-Oct-05 14:16
FlamTaps13-Oct-05 14:16 
QuestionVC++ 6.0 GUI application with TCL 8.4 Pin
dipuks13-Oct-05 7:41
dipuks13-Oct-05 7:41 
AnswerRe: VC++ 6.0 GUI application with TCL 8.4 Pin
Mohammad A Gdeisat13-Oct-05 14:35
Mohammad A Gdeisat13-Oct-05 14:35 
QuestionDLL Won't load in different location Pin
pgarciajumela13-Oct-05 7:13
pgarciajumela13-Oct-05 7:13 
AnswerRe: DLL Won't load in different location Pin
Chris Losinger13-Oct-05 7:19
professionalChris Losinger13-Oct-05 7:19 
GeneralRe: DLL Won't load in different location Pin
pgarciajumela13-Oct-05 7:22
pgarciajumela13-Oct-05 7:22 

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.