Xref: utzoo comp.lang.c++:8235 gnu.g++:928 Path: utzoo!utgpu!watserv1!watmath!uunet!mailrus!umich!umeecs!bagchi@dip.eecs.umich.edu From: bagchi@dip.eecs.umich.edu (Ranjan Bagchi) Newsgroups: comp.lang.c++,gnu.g++ Subject: order of stuff Message-ID: <2828@zipeecs.umich.edu> Date: 28 Jun 90 02:56:39 GMT Sender: news@zip.eecs.umich.edu Organization: University of Michigan EECS Dept, Ann Arbor, MI Lines: 27 Is there anything special I have to do so that I can do the following: class foo { bar bat; . . . }; class bar { . . . int glorp(foo); }; ------------------ Ordinarily, I would just define class 'bar' before class 'foo'. However, because class bar has a function which deals with class foo, I run inot the same problem. g++ is complaining because of this... -rj bagchi@eecs.umich.edu