Path: utzoo!attcan!uunet!cs.utexas.edu!yale!husc6!genrad!slp From: slp@genrad.uucp (Steven L. Peters) Newsgroups: comp.lang.c++ Subject: #defines.... Message-ID: <37786@genrad.UUCP> Date: 2 Jul 90 14:54:50 GMT Sender: news@genrad.UUCP Reply-To: slp@genrad.genrad.COM (Steven L. Peters) Organization: GenRad, Inc., Concord, Mass. Lines: 12 Just out of curiousity... With the C++ const, enum, and inline declarations, is it ever necessary to use #define in a C++ program? Stroustrup emphatically says in _The C++ Programming Language_ not to use them if you don't have to. I'm wondering if you ever have to. I can't think of a single time where you would be forced to use a #define over const or inline... Sorry if this was discussed before. Stephen Peters