Click here to Skip to main content
15,911,711 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Editing flexgrid Pin
erkanina28-Jun-05 2:11
erkanina28-Jun-05 2:11 
GeneralHey Guys Its me Psycho the Newbie again *DOH* Pin
Psych0hans26-Jun-05 22:04
Psych0hans26-Jun-05 22:04 
GeneralRe: Hey Guys Its me Psycho the Newbie again *DOH* Pin
One Stone26-Jun-05 22:06
One Stone26-Jun-05 22:06 
GeneralRe: Hey Guys Its me Psycho the Newbie again *DOH* Pin
Psych0hans26-Jun-05 22:11
Psych0hans26-Jun-05 22:11 
GeneralRe: Hey Guys Its me Psycho the Newbie again *DOH* Pin
Rahim Rattani26-Jun-05 22:13
Rahim Rattani26-Jun-05 22:13 
GeneralProblem with dialogs and windows themes Pin
Mathefreak26-Jun-05 21:27
Mathefreak26-Jun-05 21:27 
QuestionHow to copy ONLY the updated data from a large file? Pin
jahfer26-Jun-05 21:27
jahfer26-Jun-05 21:27 
AnswerRe: How to copy ONLY the updated data from a large file? Pin
khan++27-Jun-05 1:29
khan++27-Jun-05 1:29 
When you are making changes to the file, make another file (changes-file) also, with your own file format:
Repeat (1) below for every change:
1- The size of data in four bytes (long int) then four bytes (long int) for offset into the file for the data, then the data. Write this into your "changes-file".

Then when you need to update the destination file, repeat (2) below until the end of the file.
2- Read the "changes-file", and correctly read the length of data, offset of data, and the data. Then open the destination file in update mode, move into it at the correct offset, and write out the data you read from the "changes-file".

Does that solve the problem?


this is this.
GeneralRe: How to copy ONLY the updated data from a large file? Pin
jahfer27-Jun-05 2:19
jahfer27-Jun-05 2:19 
GeneralRe: How to copy ONLY the updated data from a large file? Pin
khan++27-Jun-05 2:59
khan++27-Jun-05 2:59 
AnswerRe: How to copy ONLY the updated data from a large file? Pin
John M. Drescher1-Jul-05 8:00
John M. Drescher1-Jul-05 8:00 
GeneralImage Transformation Pin
ThatsAlok26-Jun-05 20:12
ThatsAlok26-Jun-05 20:12 
GeneralRe: Image Transformation Pin
FlyingTinman26-Jun-05 21:50
FlyingTinman26-Jun-05 21:50 
GeneralRe: Image Transformation Pin
ThatsAlok26-Jun-05 22:47
ThatsAlok26-Jun-05 22:47 
GeneralUsing databases in vc++ Pin
smartymanav26-Jun-05 20:06
smartymanav26-Jun-05 20:06 
GeneralRe: Using databases in vc++ Pin
ThatsAlok26-Jun-05 20:15
ThatsAlok26-Jun-05 20:15 
GeneralRe: Using databases in vc++ Pin
smartymanav26-Jun-05 20:55
smartymanav26-Jun-05 20:55 
GeneralRe: Using databases in vc++ Pin
ThatsAlok26-Jun-05 21:11
ThatsAlok26-Jun-05 21:11 
GeneralRe: Using databases in vc++ Pin
smartymanav26-Jun-05 21:19
smartymanav26-Jun-05 21:19 
GeneralRe: Using databases in vc++ Pin
ThatsAlok26-Jun-05 21:24
ThatsAlok26-Jun-05 21:24 
GeneralRe: Using databases in vc++ Pin
smartymanav26-Jun-05 21:26
smartymanav26-Jun-05 21:26 
GeneralRe: Using databases in vc++ Pin
ThatsAlok27-Jun-05 2:21
ThatsAlok27-Jun-05 2:21 
GeneralRe: Using databases in vc++ Pin
smartymanav27-Jun-05 21:00
smartymanav27-Jun-05 21:00 
GeneralRe: Using databases in vc++ Pin
ThatsAlok27-Jun-05 21:04
ThatsAlok27-Jun-05 21:04 
GeneralRe: Using databases in vc++ Pin
smartymanav27-Jun-05 21:29
smartymanav27-Jun-05 21:29 

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.