[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [PROGRAMMERING] [C++] new class, fail. Ønskes: NULL pointer







Hej Alle
Jeg svarer lidt sent og tester samtidigt mit nye medlemskab af sslug

Vi snakker C++ ikke Java så:

>            foo = new bar();

burde selvfølgelig hede foo= new bar;

constructor() er i C++ en funktion der returner en kopi af en default
constructor -- dette bør give problemer!

>'NULL' findes ikke i C++ - du mener nok 0  ;)

NULL findes stadig i C++! -  den er  implementationsafhængigt defineret som
0 eller 0L, dog aldrig (void*)0.
ISO/IEC 14882E

Med venlig hilsen / Kind regards
Nils Åke Ljunggren
Senior Developer

IntraVision - www.intravision.dk


Office Phone : +45 7023 2340
Office Fax: +45 7023 2349
Mobile : +45 2613 9966

Mail : sslug@sslug
http://www.intravision.dk
OnLine Meeting Center: http://sametime.intravision.biz/stcenter.nsf
Med venlig hilsen / Kind regards
Nils Åke Ljunggren
Senior Developer

IntraVision - www.intravision.dk


Office Phone : +45 7023 2340
Office Fax: +45 7023 2349
Mobile : +45 2613 9966

Mail : sslug@sslug
http://www.intravision.dk
OnLine Meeting Center: http://sametime.intravision.biz/stcenter.nsf


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 22:43 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *