Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!uakari.primate.wisc.edu!ark1!oasys!mimsy!mimsy.umd.edu!brianj From: brianj@witsend.cs.umd.edu (Brian Johnson) Newsgroups: comp.sys.mac.programmer Subject: Think C Class Question Message-ID: Date: 4 Sep 90 18:39:19 GMT Sender: news@mimsy.umd.edu Distribution: na Organization: University of Maryland Computer Science Lines: 22 How do I use subclasses that I've declared? A probably naive question - but I can't for the life of me figure out the reason. I've created my subclasses and they work fine. I have global variables such as MyDocSub *gMyDoc that work fine. BUT, I can't declare instance variables of these classes in other classes or use them in function prototypes. What am I doing wrong? Doesn't think C automatically typedef these classes. I am including (#include MyDocSub.h). Thanks, -- Brian Johnson Computer Science Department brianj@cs.umd.edu University of Maryland (301) 405-2725 College Park, Md 20742