Click here to Skip to main content
15,922,015 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: C++ make exe Pin
CheesyPoofs15-Aug-06 16:38
CheesyPoofs15-Aug-06 16:38 
GeneralRe: C++ make exe Pin
Christian Graus15-Aug-06 16:48
protectorChristian Graus15-Aug-06 16:48 
GeneralRe: C++ make exe Pin
CheesyPoofs15-Aug-06 16:50
CheesyPoofs15-Aug-06 16:50 
GeneralRe: C++ make exe [modified] Pin
CheesyPoofs15-Aug-06 16:57
CheesyPoofs15-Aug-06 16:57 
GeneralRe: C++ make exe Pin
Christian Graus15-Aug-06 17:03
protectorChristian Graus15-Aug-06 17:03 
GeneralRe: C++ make exe Pin
CheesyPoofs15-Aug-06 17:07
CheesyPoofs15-Aug-06 17:07 
GeneralRe: C++ make exe Pin
Christian Graus15-Aug-06 17:25
protectorChristian Graus15-Aug-06 17:25 
AnswerRe: C++ make exe Pin
Prakash Nadar15-Aug-06 19:37
Prakash Nadar15-Aug-06 19:37 
AnswerRe: C++ make exe Pin
Steve S15-Aug-06 21:42
Steve S15-Aug-06 21:42 
QuestionRe: C++ make exe Pin
David Crow16-Aug-06 3:37
David Crow16-Aug-06 3:37 
AnswerRe: C++ make exe Pin
CheesyPoofs16-Aug-06 4:17
CheesyPoofs16-Aug-06 4:17 
GeneralRe: C++ make exe Pin
David Crow16-Aug-06 4:50
David Crow16-Aug-06 4:50 
AnswerRe: C++ make exe Pin
Zac Howland16-Aug-06 4:40
Zac Howland16-Aug-06 4:40 
GeneralRe: C++ make exe Pin
CheesyPoofs16-Aug-06 4:54
CheesyPoofs16-Aug-06 4:54 
QuestionView/sniff HTTP packets from browser to Web server Pin
Robert Palma Jr.15-Aug-06 11:19
Robert Palma Jr.15-Aug-06 11:19 
AnswerRe: View/sniff HTTP packets from browser to Web server Pin
nguyenvhn15-Aug-06 17:36
nguyenvhn15-Aug-06 17:36 
GeneralRe: View/sniff HTTP packets from browser to Web server Pin
Robert Palma Jr.17-Aug-06 6:10
Robert Palma Jr.17-Aug-06 6:10 
QuestionDatabase problem Pin
ivanris15-Aug-06 10:49
ivanris15-Aug-06 10:49 
AnswerRe: Database problem Pin
David Crow16-Aug-06 3:41
David Crow16-Aug-06 3:41 
GeneralRe: Database problem Pin
ivanris17-Aug-06 8:57
ivanris17-Aug-06 8:57 
GeneralRe: Database problem Pin
David Crow17-Aug-06 9:10
David Crow17-Aug-06 9:10 
QuestionHelp me to create a DC function: FillRgn() for Win98 Pin
includeh1015-Aug-06 6:45
includeh1015-Aug-06 6:45 
AnswerRe: Help me to create a DC function: FillRgn() for Win98 Pin
Chris Losinger15-Aug-06 9:58
professionalChris Losinger15-Aug-06 9:58 
QuestionC++ General Question Pin
NitinPatil15-Aug-06 5:56
NitinPatil15-Aug-06 5:56 
AnswerRe: C++ General Question Pin
Steve S15-Aug-06 6:11
Steve S15-Aug-06 6:11 
The ++ is an increment, and is being used as a post-increment.

*d++ = *s++

is semantically equivalent to

*d = *s;
d = d + 1;
s = s + 1;

It is performing a copy.
It will stop copying when it has copied a zero value for the basic type, since in C/C++ you can use most expressions as values. If what s and d point to is a non-simple type (such as a class), then it may also invoke a conversion cast operator.

The basics of this is explained in the C Programming reference by Kernighan & Ritchie, and in many C++ beginner's books.

Steve S
Developer for hire

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.