[Stk] noob pointer question about the tutorials

malik martin laserbeak43 at gmail.com
Wed, 14 Nov 2007 00:17:56 -0500


why in "hello Sine!' was FileWvOut duplicated as a class instance
named "output" and in realtime auido blocking, an instance was created
as a pointer, "*dac"? i read that the class is protected, and i've
read about pointers and classes a bit. not that i can truly say i
remember it but, why so much protection? why not make an instance?
will this instance affect the base class or something?

oh and what's this address operator doing?? "( StkError & ) " the
address of what? it's by itself.
and for that matter i never really understude the return codes 0, 1,
etc. i was just taught to know that, typically, return 0;
exits the program. the reason i as is cause of  " exit(0);"