Click here to Skip to main content
15,925,444 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionhow to create User DSN in ODBC & how to register .ocx file through install shield for vc++ 6 Pin
Chanda.com24-Feb-02 19:14
Chanda.com24-Feb-02 19:14 
AnswerRe: how to create User DSN in ODBC & how to register .ocx file through install shield for vc++ 6 Pin
Mazdak24-Feb-02 19:33
Mazdak24-Feb-02 19:33 
QuestionAre there some problems in the following source? Pin
Feng Qin24-Feb-02 19:04
Feng Qin24-Feb-02 19:04 
AnswerRe: Are there some problems in the following source? Pin
Paul M Watt24-Feb-02 19:33
mentorPaul M Watt24-Feb-02 19:33 
GeneralRe: Are there some problems in the following source? Pin
Joaquín M López Muñoz24-Feb-02 22:06
Joaquín M López Muñoz24-Feb-02 22:06 
GeneralRe: Are there some problems in the following source? Pin
Feng Qin24-Feb-02 23:28
Feng Qin24-Feb-02 23:28 
GeneralRe: Are there some problems in the following source? Pin
Paul M Watt24-Feb-02 23:40
mentorPaul M Watt24-Feb-02 23:40 
GeneralRe: Are there some problems in the following source? Pin
Joaquín M López Muñoz24-Feb-02 23:40
Joaquín M López Muñoz24-Feb-02 23:40 
As donothing2 accepts a reference, there's no copying involved in the calling process, and no problem as those posed by the first function will arise. If you think of a reference (in this context) as an alias for a pointer you'll see more clearly the differences between donothing1 and donothing2.
Nevertheless, it is very much advisable to explictly write the "gang of four" (default ctor, copy ctor, assignment operator and dtor) for every class wihtout trivial semantics and not leave these holes to the interpretation and good sense of the user.

Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
GeneralRe: Are there some problems in the following source? Pin
Michael Dunn25-Feb-02 7:55
sitebuilderMichael Dunn25-Feb-02 7:55 
GeneralRe: Are there some problems in the following source? Pin
Joaquín M López Muñoz25-Feb-02 8:01
Joaquín M López Muñoz25-Feb-02 8:01 
GeneralRe: Are there some problems in the following source? Pin
Michael Dunn25-Feb-02 10:13
sitebuilderMichael Dunn25-Feb-02 10:13 
GeneralRe: Are there some problems in the following source? Pin
Joaquín M López Muñoz25-Feb-02 10:29
Joaquín M López Muñoz25-Feb-02 10:29 
GeneralRe: Are there some problems in the following source? Pin
Michael Dunn25-Feb-02 7:52
sitebuilderMichael Dunn25-Feb-02 7:52 
GeneralRe: Are there some problems in the following source? Pin
Joaquín M López Muñoz25-Feb-02 7:53
Joaquín M López Muñoz25-Feb-02 7:53 
QuestionWhat message should my app handle when user shutdown/logoff the system Pin
24-Feb-02 18:51
suss24-Feb-02 18:51 
AnswerRe: What message should my app handle when user shutdown/logoff the system Pin
Paul M Watt24-Feb-02 18:58
mentorPaul M Watt24-Feb-02 18:58 
GeneralRe: What message should my app handle when user shutdown/logoff the system Pin
24-Feb-02 19:04
suss24-Feb-02 19:04 
GeneralRe: What message should my app handle when user shutdown/logoff the system Pin
Paul M Watt24-Feb-02 19:17
mentorPaul M Watt24-Feb-02 19:17 
GeneralRe: Thanx Pin
24-Feb-02 21:10
suss24-Feb-02 21:10 
GeneralNetwork logins Pin
Coremn24-Feb-02 17:09
Coremn24-Feb-02 17:09 
GeneralRe: Network logins Pin
Jon Hulatt24-Feb-02 22:08
Jon Hulatt24-Feb-02 22:08 
GeneralSTL/for_each/templated function question Pin
Christian Graus24-Feb-02 17:06
protectorChristian Graus24-Feb-02 17:06 
GeneralRe: STL/for_each/templated function question Pin
Paul M Watt24-Feb-02 17:17
mentorPaul M Watt24-Feb-02 17:17 
GeneralRe: STL/for_each/templated function question Pin
Christian Graus24-Feb-02 17:25
protectorChristian Graus24-Feb-02 17:25 
GeneralRe: STL/for_each/templated function question Pin
Paul M Watt24-Feb-02 17:37
mentorPaul M Watt24-Feb-02 17: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.