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

C / C++ / MFC

 
GeneralRe:Error spawn... Pin
Angel Kid14-Feb-02 4:07
Angel Kid14-Feb-02 4:07 
GeneralOLE automation Pin
Gérald Mercet13-Feb-02 22:54
Gérald Mercet13-Feb-02 22:54 
GeneralTrying to call an ATL Com Object from MFC Pin
Braulio Dez13-Feb-02 22:52
Braulio Dez13-Feb-02 22:52 
GeneralPlease help on Error LNK2001 Pin
DengJW13-Feb-02 22:06
DengJW13-Feb-02 22:06 
GeneralRe: Please help on Error LNK2001 Pin
Paul M Watt13-Feb-02 22:18
mentorPaul M Watt13-Feb-02 22:18 
GeneralRe: Please help on Error LNK2001 Pin
DengJW13-Feb-02 23:03
DengJW13-Feb-02 23:03 
Generaloperators Pin
Rickard Andersson2013-Feb-02 21:23
Rickard Andersson2013-Feb-02 21:23 
GeneralRe: operators Pin
Joaquín M López Muñoz13-Feb-02 21:31
Joaquín M López Muñoz13-Feb-02 21:31 
Whn you define this operator, the left hand parameter in the cat1 = cat2 expression is the object on which operator = is being called (that is, the object pointet to by this). A typical implementation of this operator goes like this:
CAT& CAT::operator=(const CAT& rhs)
{
  // copy all the members from the righthand side
  // to the left-hand object

  firstMember=rhs.firstMember;
  ...
  lastMember=rhs.lastMember;
  //return a reference to ourselves (note the *)
  return *this;
}
Seems a little cumbersome at first glance, but it is a pretty straightforward idiom once you get used to it.


Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
GeneralRe: operators Pin
Paul M Watt13-Feb-02 22:07
mentorPaul M Watt13-Feb-02 22:07 
GeneralSocket Programming in MS. DOS Pin
Agus Kurniawan13-Feb-02 21:14
Agus Kurniawan13-Feb-02 21:14 
GeneralRe: Socket Programming in MS. DOS Pin
Joaquín M López Muñoz13-Feb-02 21:43
Joaquín M López Muñoz13-Feb-02 21:43 
Generaltimer....!!!! Pin
13-Feb-02 21:07
suss13-Feb-02 21:07 
GeneralRe: timer....!!!! Pin
Joaquín M López Muñoz13-Feb-02 21:25
Joaquín M López Muñoz13-Feb-02 21:25 
GeneralRe: timer....!!!! Pin
Tim Smith14-Feb-02 2:17
Tim Smith14-Feb-02 2:17 
GeneralRe: timer....!!!! Pin
Joaquín M López Muñoz14-Feb-02 3:03
Joaquín M López Muñoz14-Feb-02 3:03 
GeneralRe: timer....!!!! Pin
Tim Smith14-Feb-02 7:41
Tim Smith14-Feb-02 7:41 
GeneralRe: timer....!!!! Pin
Joao Vaz13-Feb-02 23:14
Joao Vaz13-Feb-02 23:14 
GeneralRe: timer....!!!! Pin
Nemanja Trifunovic14-Feb-02 8:11
Nemanja Trifunovic14-Feb-02 8:11 
GeneralNumber of bitmaps in .bmp-file Pin
Onkie13-Feb-02 21:01
Onkie13-Feb-02 21:01 
GeneralRe: Number of bitmaps in .bmp-file Pin
Paul M Watt13-Feb-02 21:15
mentorPaul M Watt13-Feb-02 21:15 
GeneralSDK! Pin
George Clarence13-Feb-02 20:06
George Clarence13-Feb-02 20:06 
GeneralRe: SDK! Pin
Jon Sagara13-Feb-02 20:05
Jon Sagara13-Feb-02 20:05 
Generalcompiling in xp and dll errors on 2k Pin
gus13-Feb-02 19:40
gus13-Feb-02 19:40 
GeneralRe: compiling in xp and dll errors on 2k Pin
Joaquín M López Muñoz13-Feb-02 20:02
Joaquín M López Muñoz13-Feb-02 20:02 
GeneralRe: compiling in xp and dll errors on 2k Pin
Michael Dunn13-Feb-02 20:18
sitebuilderMichael Dunn13-Feb-02 20:18 

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.