Click here to Skip to main content
15,899,679 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: how to undef a typedef? Pin
Maximilien17-Oct-09 1:18
Maximilien17-Oct-09 1:18 
GeneralRe: how to undef a typedef? Pin
includeh1017-Oct-09 2:04
includeh1017-Oct-09 2:04 
GeneralRe: how to undef a typedef? Pin
Maximilien17-Oct-09 2:16
Maximilien17-Oct-09 2:16 
GeneralRe: how to undef a typedef? Pin
includeh1017-Oct-09 2:55
includeh1017-Oct-09 2:55 
GeneralRe: how to undef a typedef? Pin
Richard MacCutchan17-Oct-09 3:06
mveRichard MacCutchan17-Oct-09 3:06 
GeneralRe: how to undef a typedef? Pin
includeh1017-Oct-09 3:13
includeh1017-Oct-09 3:13 
GeneralRe: how to undef a typedef? Pin
Richard MacCutchan17-Oct-09 4:00
mveRichard MacCutchan17-Oct-09 4:00 
GeneralRe: how to undef a typedef? Pin
Tim Craig17-Oct-09 16:59
Tim Craig17-Oct-09 16:59 
GeneralRe: how to undef a typedef? Pin
David Crow17-Oct-09 17:05
David Crow17-Oct-09 17:05 
GeneralRe: how to undef a typedef? Pin
includeh1017-Oct-09 3:16
includeh1017-Oct-09 3:16 
GeneralRe: how to undef a typedef? Pin
Richard MacCutchan17-Oct-09 4:02
mveRichard MacCutchan17-Oct-09 4:02 
GeneralRe: how to undef a typedef? Pin
includeh1017-Oct-09 3:20
includeh1017-Oct-09 3:20 
GeneralRe: how to undef a typedef? Pin
Richard MacCutchan17-Oct-09 4:04
mveRichard MacCutchan17-Oct-09 4:04 
GeneralRe: how to undef a typedef? Pin
includeh1017-Oct-09 4:56
includeh1017-Oct-09 4:56 
GeneralRe: how to undef a typedef? Pin
Richard MacCutchan17-Oct-09 7:08
mveRichard MacCutchan17-Oct-09 7:08 
GeneralRe: how to undef a typedef? Pin
Hans Dietrich17-Oct-09 9:53
mentorHans Dietrich17-Oct-09 9:53 
GeneralRe: how to undef a typedef? Pin
Richard MacCutchan17-Oct-09 10:40
mveRichard MacCutchan17-Oct-09 10:40 
GeneralRe: how to undef a typedef? Pin
CPallini18-Oct-09 8:07
mveCPallini18-Oct-09 8:07 
AnswerOk, I'm a good sport, let's start from the beginning... Pin
Maximilien17-Oct-09 3:31
Maximilien17-Oct-09 3:31 
AnswerRe: how to undef a typedef? Pin
Bram van Kampen18-Oct-09 1:42
Bram van Kampen18-Oct-09 1:42 
Questionquestion about copy a picture with c [modified] Pin
Dengjin_CN16-Oct-09 23:16
Dengjin_CN16-Oct-09 23:16 
AnswerRe: question about copy a picture with c Pin
Rajesh R Subramanian17-Oct-09 0:35
professionalRajesh R Subramanian17-Oct-09 0:35 
GeneralRe: question about copy a picture with c Pin
Dengjin_CN17-Oct-09 1:25
Dengjin_CN17-Oct-09 1:25 
GeneralRe: question about copy a picture with c Pin
Richard MacCutchan17-Oct-09 3:58
mveRichard MacCutchan17-Oct-09 3:58 
I just tried your program and it works correctly in both cases. If you use the specification "wb" then it will always create a new file. If you use "ab" it will do the same, except if the file already exists then it will add to the existing file. For example if you write 100 bytes with "wb" your file will always be 100 bytes long. But if you write 100 with "wb" and then another 100 with "ab" it will be 200 bytes long.
AnswerRe: question about copy a picture with c Pin
Patcher3217-Oct-09 8:10
Patcher3217-Oct-09 8:10 

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.