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

C / C++ / MFC

 
GeneralList Control Header resizing problem Pin
Renjith Ramachandran15-Jun-04 20:12
Renjith Ramachandran15-Jun-04 20:12 
GeneralRe: List Control Header resizing problem Pin
Cohen15-Jun-04 23:50
Cohen15-Jun-04 23:50 
GeneralRe: List Control Header resizing problem Pin
Renjith Ramachandran16-Jun-04 0:24
Renjith Ramachandran16-Jun-04 0:24 
QuestionHow to show tooltip in toolbar Pin
Sumit Kapoor15-Jun-04 20:06
Sumit Kapoor15-Jun-04 20:06 
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 
Hi
Provided that I have a class declaration as follows:

class A
{
	...
}


and a class object a1:

A a1;


I want to know the difference between the following:

A a2 = a1;		(1)
A a2(a1);		(2)
A a2 = A();		(3)
A a2(A());		(4)


What is the most preferred? My colleague says that (1) and (2) are equal, since (1) will call the copy contructor automatically and operator= will not be called, is that true?

Thanks!
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 
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 

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.