RE: [Dev-C++] Differences in compilers
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Ioannis V. <no...@ho...> - 2002-04-14 13:42:40
|
-----Original Message----- From: dev...@li... [mailto:dev...@li...] On Behalf Of Jason Hardman Sent: Sunday, April 14, 2002 4:36 PM To: Dev-C++; Danny Austin Subject: Re: [Dev-C++] Differences in compilers Try writing NULL in all caps. AFAIK most definitions of NULL are done all in upper case letters. If I remember correctly NULL is normally defined thus: NULL definition is always in capital letters. #define NULL (void*) 0; It depends on the language. For C it is usually the above (without the ';'). For C++ the best definition of NULL is #define NULL 0 Ioannis * Ioannis Vranos * Programming pages: <http://www.noicys.cjb.net/> http://www.noicys.cjb.net * Alternative URL: <http://run.to/noicys> http://run.to/noicys |