RE: [Dev-C++] FW: What does this mean ?
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Ioannis V. <iv...@em...> - 2003-03-20 14:15:16
|
Ugly, stupid and dangerous. In C it should be if(currentParser==NULL), in C++ (ifcurrentParser==0). Ioannis Vranos * Programming pages: http://www.noicys.freeurl.com * Alternative URL: http://run.to/noicys -----Original Message----- From: dev...@li... [mailto:dev...@li...] On Behalf Of Somanathan Kaimal Sent: Thursday, March 20, 2003 12:58 PM To: 'dev...@li...' Subject: [Dev-C++] FW: What does this mean ? Hi Techies, if (!currentParser) currentParser = parserList.getInstance(); ** if (currentParser == (MegacoParser *)0) { SWERR aSwerr; aSwerr.record(__FILE__, __LINE__, "Error: No Parser available."); return MegacoDefs::fail; } How does the line marked with * different from If(currentParser == 0) Thanks in adv Somanathan |