Path: utzoo!news-server.csri.toronto.edu!rutgers!uwm.edu!cs.utexas.edu!uunet!zephyr.ens.tek.com!uw-beaver!mit-eddie!andante!alice!ark From: ark@alice.att.com (Andrew Koenig) Newsgroups: comp.lang.c++ Subject: Re: easy question Message-ID: <20042@alice.att.com> Date: 9 Mar 91 01:34:12 GMT References: <5914@s3.ireq.hydro.qc.ca> Reply-To: ark@alice.UUCP () Organization: AT&T Bell Laboratories, Liberty Corner NJ Lines: 22 In article <5914@s3.ireq.hydro.qc.ca> robert@ireq.hydro.qc.ca () writes: > 1) How can i declare two object that point to each other? class A; // optional class B; // not optional class A { B* b; }; class B { A* a; }; > 2) How do i declare a parameter that i do not use to avoid a warning > from the compiler void func(int a, int) { int c; c = a; } -- --Andrew Koenig ark@europa.att.com