TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: Neil Heller
from: Herbert Bushong
date: 2003-01-08 05:57:00
subject: Declaring a pointer to a

try this:

::>      class a_class
::>      {
::>           // some stuff
::>      };

typedef class a_class* a_classptr;

::>      class b_class
::>      {
::>           a_class * pa_class;     // the first error... why ?
change to:

a_classptr pa_class;

or alternatively:

class a_class * pa_class;

::>           // some other stuff
::>           public:  b_class(int, a_class *);
::>      }

might work...

Úþ Herbert Bushong    harchon{at}centurytel.net
Ãþ Blackbeard's BBS   herb{at}intelec.com     http://www.intelec.com/software/
Àþ Fido: 1:19/19      Intelec: 239:600/0

---
 þ RM 1.31 2508 þ Zippy the pinhead is a twit.

--- QScan/PCB v1.20a / 02-1026
* Origin: Blackbeard's BBS þ Ville Platte, LA þ 337-468-3385 (1:19/19)
SEEN-BY: 633/267 270
@PATH: 19/19 140/1 106/2000 1 379/1 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.