Click here to Skip to main content
15,910,787 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: calculate the size of HBITMAP Pin
Sarath C16-May-06 1:58
Sarath C16-May-06 1:58 
AnswerRe: calculate the size of HBITMAP Pin
David Crow16-May-06 3:55
David Crow16-May-06 3:55 
QuestionReading and Writing to a file at the same time Pin
waxie15-May-06 21:24
waxie15-May-06 21:24 
AnswerRe: Reading and Writing to a file at the same time Pin
Naveen15-May-06 21:50
Naveen15-May-06 21:50 
GeneralRe: Reading and Writing to a file at the same time Pin
waxie15-May-06 21:51
waxie15-May-06 21:51 
GeneralRe: Reading and Writing to a file at the same time Pin
Naveen15-May-06 21:57
Naveen15-May-06 21:57 
GeneralRe: Reading and Writing to a file at the same time Pin
waxie15-May-06 22:27
waxie15-May-06 22:27 
GeneralRe: Reading and Writing to a file at the same time Pin
kakan15-May-06 22:35
professionalkakan15-May-06 22:35 
First:
Beacuse the file pointer is placed on the character after "String" in the file, so that's where you will be writing "Overwrite String"
You will have to position the file pointer to the beginning of "String" before writing to the file.

Second:
Since "Overwrite String" is longer than "String", if the file pointer was placed at the beginning of "String", the "String " would be overwritten, *but* also the 10 characters after "String" in the file.

Pls read my post.

GeneralRe: Reading and Writing to a file at the same time Pin
waxie15-May-06 22:46
waxie15-May-06 22:46 
GeneralRe: Reading and Writing to a file at the same time Pin
kakan15-May-06 22:49
professionalkakan15-May-06 22:49 
GeneralRe: Reading and Writing to a file at the same time Pin
waxie15-May-06 22:57
waxie15-May-06 22:57 
GeneralRe: Reading and Writing to a file at the same time Pin
kakan15-May-06 23:31
professionalkakan15-May-06 23:31 
GeneralRe: Reading and Writing to a file at the same time Pin
waxie16-May-06 0:30
waxie16-May-06 0:30 
GeneralRe: Reading and Writing to a file at the same time Pin
kakan16-May-06 0:50
professionalkakan16-May-06 0:50 
GeneralRe: Reading and Writing to a file at the same time Pin
Naveen15-May-06 22:37
Naveen15-May-06 22:37 
QuestionRe: Reading and Writing to a file at the same time Pin
David Crow16-May-06 3:06
David Crow16-May-06 3:06 
AnswerRe: Reading and Writing to a file at the same time Pin
kakan15-May-06 21:58
professionalkakan15-May-06 21:58 
QuestionImage transwering using CAsyncsoc Pin
psramu15-May-06 21:01
psramu15-May-06 21:01 
AnswerRe: Image transwering using CAsyncsoc Pin
kakan15-May-06 22:16
professionalkakan15-May-06 22:16 
QuestionAddition MultiDocument/View architecture to ActiveX Pin
majco33315-May-06 20:39
majco33315-May-06 20:39 
AnswerRe: Addition MultiDocument/View architecture to ActiveX Pin
Roger Stoltz16-May-06 9:27
Roger Stoltz16-May-06 9:27 
QuestionAm I doing wrong? Pin
ppatel56715-May-06 20:31
ppatel56715-May-06 20:31 
AnswerRe: Am I doing wrong? Pin
Michael Dunn15-May-06 21:17
sitebuilderMichael Dunn15-May-06 21:17 
GeneralRe: Am I doing wrong? Pin
ppatel56715-May-06 21:20
ppatel56715-May-06 21:20 
GeneralRe: Am I doing wrong? Pin
Stephen Hewitt15-May-06 22:03
Stephen Hewitt15-May-06 22:03 

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.