Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!sdd.hp.com!spool2.mu.edu!uunet!hsi!stpstn!lerman From: lerman@stpstn.UUCP (Ken Lerman) Newsgroups: comp.lang.c++ Subject: Re: Problems maintaining header files Message-ID: <6107@stpstn.UUCP> Date: 29 Jan 91 21:00:18 GMT References: <15917@reed.UUCP> Reply-To: lerman@stpstn.UUCP (Ken Lerman) Organization: The Stepstone Corporation, Sandy Hook, CT 06482 Lines: 17 In article <15917@reed.UUCP> minar@reed.bitnet (Nelson Minar,L08,x640,7776519) writes: : :In C, I barely managed to keep all my header files straight and organized. :C++ just compounds my problems. ... : :Are constructs like '#pragma once' just entirely common in C++ headers? I :find them ugly.. Objective-C (please hold the flames down to a dull roar) uses '#import ' to mean the same thing as '#include ' except do nothing if the file has already been imported. This is MUCH nicer than '#pragma once' and might be a useful addition to C++. Ken