Path: utzoo!attcan!uunet!taumet!steve From: steve@taumet.com (Stephen Clamage) Newsgroups: comp.lang.c++ Subject: Re: #defines.... Message-ID: <301@taumet.com> Date: 3 Jul 90 16:08:33 GMT References: <37786@genrad.UUCP> <1990Jul2.164355.15327@Neon.Stanford.EDU> Reply-To: steve@taumet.UUCP (Stephen Clamage) Organization: Taumetric Corporation, San Diego Lines: 14 In article <1990Jul2.164355.15327@Neon.Stanford.EDU> philip@pescadero.stanford.edu writes: >Just a small example... errno, which contains an error number from >the most recent error (used in a number of common libraries) is defined >as an integer _expression_. It can for example be implemented as a >function call.... But errno is not C++, it is C. If you are required to use the C library and headers, then you have lots of macros forced on you. Realistically, any real C++ program written today will use the C library and at least some of the headers. But C++ provides better mechanisms for all the macro usages in C. -- Steve Clamage, TauMetric Corp, steve@taumet.com