[Tutor] Variable Modification in a class [offtopic: thanks]
Danny Yoo
dyoo@hkn.eecs.berkeley.edu
Tue Jun 3 19:27:01 2003
On Tue, 3 Jun 2003, Alan Gauld wrote:
> Danny Yoo wrote:
> > AB* b = malloc(sizeof(AB));
> > AB* c = malloc(sizeof(AB));
>
> Boy my C is rusty, I even got malloc wrong after I "fixed" it. I forgot
> the sizeof() mantra... And I didn't need the cast coz they are type
> compatible.
Hi Alan,
Sometimes, though, I worry about if I've been permanently damaged by C.
I did miss out on Fortran and COBOL. For which I'm greatful. *grin*
> Glad you are around Danny, to show the right way to do it! :-)
And I'm glad everyone else is around too, and I'm serious when I say that.
I think I'd be less happy (and a little more lonely) if there weren't a
community here to talk to. So I just wanted to give a """thank you""" to
the folks here.
Talk to you later!