Click here to Skip to main content
15,909,897 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: File overwriting... Pin
Raphael Kindt18-Jul-02 3:52
Raphael Kindt18-Jul-02 3:52 
GeneralRe: File overwriting... Pin
Fredrik Skog18-Jul-02 4:01
Fredrik Skog18-Jul-02 4:01 
GeneralRe: File overwriting... Pin
Fredrik Skog18-Jul-02 4:16
Fredrik Skog18-Jul-02 4:16 
GeneralRe: File overwriting... Pin
Raphael Kindt18-Jul-02 4:32
Raphael Kindt18-Jul-02 4:32 
GeneralRe: File overwriting... Pin
Raphael Kindt18-Jul-02 4:13
Raphael Kindt18-Jul-02 4:13 
GeneralRe: File overwriting... Pin
Raphael Kindt18-Jul-02 4:48
Raphael Kindt18-Jul-02 4:48 
GeneralRe: File overwriting... Pin
Bill Wilson18-Jul-02 8:42
Bill Wilson18-Jul-02 8:42 
GeneralRe: File overwriting... Pin
Raphael Kindt18-Jul-02 21:05
Raphael Kindt18-Jul-02 21:05 
Yes but my first line is the 0th line... Thus that's OK because the 9th line is the 10th in the reality (As you say)... Wink | ;)
But, concerning the overwriting of a file, my conclusion is that "that doesn't work" because you must be at the end of the file, and thus you can only Add line to a file (in the end). The reason is that the Write and Read methods are both sequential. What's strange is that no error was detected (for the compilation and execution). Moreover is that in the watch window, during the debug, the pointeur to the file shows well that he wrote(overwrote). But after the execution, when I open the file, no modification was found.... Strange... but it's the live... Smile | :) Big Grin | :-D

Thanks...

Hello World!!! Smile | :)
from Raphaël
QuestionChange the length of bitmap image arbitrary? Pin
chen18-Jul-02 2:39
chen18-Jul-02 2:39 
AnswerRe: Change the length of bitmap image arbitrary? Pin
includeh1018-Jul-02 5:04
includeh1018-Jul-02 5:04 
GeneralRe: Change the length of bitmap image arbitrary? Pin
chen18-Jul-02 19:58
chen18-Jul-02 19:58 
GeneralCwaitcursor and onpaint messages Pin
Anonymous18-Jul-02 2:12
Anonymous18-Jul-02 2:12 
GeneralActiveMovie4 Pin
Anonymous18-Jul-02 2:11
Anonymous18-Jul-02 2:11 
GeneralCEdit SetSel behavior Pin
ns18-Jul-02 1:27
ns18-Jul-02 1:27 
GeneralRe: CEdit SetSel behavior Pin
Roger Allen18-Jul-02 1:45
Roger Allen18-Jul-02 1:45 
GeneralRe: CEdit SetSel behavior Pin
ns18-Jul-02 1:51
ns18-Jul-02 1:51 
GeneralRe: CEdit SetSel behavior Pin
Roger Allen18-Jul-02 2:19
Roger Allen18-Jul-02 2:19 
QuestionWhich is the CD-RW drive ??? Pin
ilgale18-Jul-02 0:05
ilgale18-Jul-02 0:05 
GeneralHELP ME TO FIND AN ERROR Pin
Alex Cramer17-Jul-02 23:51
Alex Cramer17-Jul-02 23:51 
GeneralPDF generation control! Pin
Nish Nishant17-Jul-02 22:57
sitebuilderNish Nishant17-Jul-02 22:57 
GeneralRe: PDF generation control! Pin
Jim Crafton18-Jul-02 3:39
Jim Crafton18-Jul-02 3:39 
GeneralWriting data on a CD-ROM Pin
ilgale17-Jul-02 22:56
ilgale17-Jul-02 22:56 
GeneralRe: Writing data on a CD-ROM Pin
Scott H. Settlemier18-Jul-02 7:13
Scott H. Settlemier18-Jul-02 7:13 
GeneralRe: Writing data on a CD-ROM Pin
Anonymous18-Jul-02 20:52
Anonymous18-Jul-02 20:52 
QuestionHow to draw a rectangle around the mainframe? Pin
Dave Matrix17-Jul-02 22:47
Dave Matrix17-Jul-02 22:47 

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.