Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!news.cs.indiana.edu!att!cbnews!cbnewsl!bill From: bill@cbnewsl.att.com (william.clark) Newsgroups: comp.windows.ms.programmer Subject: Re: min/max in bc++ Message-ID: <1991Apr25.161331.6794@cbnewsl.att.com> Date: 25 Apr 91 16:13:31 GMT References: Distribution: comp Organization: AT&T Bell Laboratories Lines: 15 From article , by oneel@heawk1.rosserv.gsfc.nasa.gov ( Bruce Oneel ): > Got a question on windows.h, bc++, and c++ mode. > > I was entering the sysmet? examples from the petzold book and I > noticed that min and max weren't defined. That's funny, they're in > help... Well, went spelunking through windows.h and noticed that they > are in there, but if you are compiling c++ mode they are ignored. > > Would some kind person explain why the min and max macros aren't > defined when you are using c++ mode? I would guess they are not included since C++ provides the "inline" mechanism which many prefer to #define. I suspect Borland is nudging you towards C++ conventions. -bill