Click here to Skip to main content
16,013,489 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to same HTMLs into a single file? Pin
Tcpip200515-Jun-04 17:58
Tcpip200515-Jun-04 17:58 
AnswerRe: How to same HTMLs into a single file? Pin
toxcct15-Jun-04 20:55
toxcct15-Jun-04 20:55 
AnswerRe: How to same HTMLs into a single file? Pin
Scozturk15-Jun-04 21:17
professionalScozturk15-Jun-04 21:17 
GeneralC++ copy constructor questions Pin
Indrawati15-Jun-04 17:30
Indrawati15-Jun-04 17:30 
GeneralRe: C++ copy constructor questions Pin
Tim Smith15-Jun-04 17:48
Tim Smith15-Jun-04 17:48 
GeneralRe: C++ copy constructor questions Pin
Michael Dunn15-Jun-04 18:36
sitebuilderMichael Dunn15-Jun-04 18:36 
GeneralRe: C++ copy constructor questions Pin
Anonymous15-Jun-04 18:55
Anonymous15-Jun-04 18:55 
GeneralRe: C++ copy constructor questions Pin
Michael Dunn15-Jun-04 19:00
sitebuilderMichael Dunn15-Jun-04 19:00 
As I said, that is a constructor call in disguise, it doesn't call operator=. The reasoning is that in C you write:
int x = 1;
but in C++ the original syntax was the constructor-call one:
A a1;
A a2(a1);
So to make the two congruent, C++ also added these:
int x(1);
A a2 = a1;
which both initialize a variable. For C++ objects this calls an available constructor with one parameter. If you want to call a constructor with more parameters, you have to use the a2(a1) style of syntax.

--Mike--
Personal stuff:: Ericahist | Homepage
Shareware stuff:: 1ClickPicGrabber | RightClick-Encrypt
CP stuff:: CP SearchBar v2.0.2 | C++ Forum FAQ

----
You cannot stop me with paramecium alone!
GeneralRe: C++ copy constructor questions Pin
Tim Smith16-Jun-04 3:16
Tim Smith16-Jun-04 3:16 
GeneralRe: C++ copy constructor questions Pin
Tim Smith16-Jun-04 4:31
Tim Smith16-Jun-04 4:31 
GeneralRe: Sutter's GotW #036 Pin
Tim Smith16-Jun-04 3:45
Tim Smith16-Jun-04 3:45 
GeneralStatus Bar Misplaced Pin
RobertW10015-Jun-04 16:43
RobertW10015-Jun-04 16:43 
GeneralRe: Status Bar Misplaced Pin
toxcct15-Jun-04 20:52
toxcct15-Jun-04 20:52 
GeneralRe: Status Bar Misplaced Pin
RobertW10016-Jun-04 2:28
RobertW10016-Jun-04 2:28 
GeneralRe: Status Bar Misplaced Pin
toxcct16-Jun-04 2:32
toxcct16-Jun-04 2:32 
GeneralRe: Status Bar Misplaced Pin
RobertW10017-Jun-04 2:11
RobertW10017-Jun-04 2:11 
GeneralIntercept Dialup Connect Requests Pin
matrixprogrammer15-Jun-04 15:12
matrixprogrammer15-Jun-04 15:12 
GeneralRe: Intercept Dialup Connect Requests Pin
Scozturk15-Jun-04 21:25
professionalScozturk15-Jun-04 21:25 
Generaldynamic tooltips Pin
skatepro15-Jun-04 14:41
skatepro15-Jun-04 14:41 
GeneralRe: dynamic tooltips Pin
ohadp15-Jun-04 19:21
ohadp15-Jun-04 19:21 
QuestionEasy way to convert webpage to txt file? Pin
Selevercin15-Jun-04 12:26
Selevercin15-Jun-04 12:26 
AnswerRe: Easy way to convert webpage to txt file? Pin
toxcct15-Jun-04 12:35
toxcct15-Jun-04 12:35 
GeneralRe: Easy way to convert webpage to txt file? Pin
Selevercin15-Jun-04 13:42
Selevercin15-Jun-04 13:42 
GeneralRe: Easy way to convert webpage to txt file? Pin
georgiek5015-Jun-04 14:32
georgiek5015-Jun-04 14:32 
AnswerRe: Easy way to convert webpage to txt file? Pin
palbano15-Jun-04 12:37
palbano15-Jun-04 12:37 

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.