Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!sdd.hp.com!wuarchive!udel!haven.umd.edu!socrates.umd.edu!uc780.umd.edu!coates From: coates@uc780.umd.edu Newsgroups: comp.windows.ms.programmer Subject: RE: C++ Does Allow Identifier Declar & Define Message-ID: <24JUN91.22311139@uc780.umd.edu> Date: 24 Jun 91 22:31:11 GMT References: <24JUN91.20520720@uc780.umd.edu> Sender: news@socrates.umd.edu (News) Organization: The University of Maryland University College Lines: 20 The Subject: should actually read: "C++ Does Allow Identifier Declaration and Definition Simultaneously" This is demonstrated by the fragment: in main() Line ALine(1, 150); here ALine is an instantiation of Line. It is here declared and defined simultaneously. One could argue that the type 'Line' has already been declard, so that everything is kosher. Any other mistyped reference to 'Line' or 'ALine' would be flagged by the linker. ************************************************************************** * Elliott Coates, washington dc * * coates@uc780.umd.edu * * coates@uc780.bitnet * **************************************************************************