Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uunet!samsung!sol.ctr.columbia.edu!cica!iuvax!bsu-cs!mithomas From: mithomas@bsu-cs.bsu.edu (Michael Thomas Niehaus) Newsgroups: comp.sys.mac.programmer Subject: Think C 4.0 questions Message-ID: <10682@bsu-cs.bsu.edu> Date: 1 Feb 90 13:37:41 GMT Organization: CS Dept, Ball St U, Muncie, Indiana Lines: 31 I have several questions that I hope someone out there can answer: 1. If you declare an array in an object class definition, is it safe to use that array in a call to, say, an FSWrite routine? I have created a 1K buffer and when it fills up I want to call FSWrite to write the whole chunk out. Is this safe, or do I have to copy the whole array? (Or can I lock it down?) 2. If you declare a superclass and then two or more subclasses, is it possible to create an object of one subclass and assign it to an object variable of the superclass? I would like to have an array of objects of different types (but of similar structures). 3. What does the debugger look like? (My poor little 1MB SE has never seen it.) Totally unrelated: 4. How would you change the font that is used in a dialog's buttons to something other than Chicago? 5. Does anyone have any source to convert BinHex->Mac files? I am basically looking for a routine that will accept two file reference numbers and do the work, and hacking the xbin source currently looks like a headache. -Michael -- Michael Niehaus UUCP: !{iuvax,pur-ee}!bsu-cs!mithomas Apple Student Rep ARPA: mithomas@bsu-cs.bsu.edu Ball State University AppleLink: ST0374 (from UUCP: st0374@applelink.apple.com)