Re: How to make C look like C++
From: Josh Sebastian (curien_at_cox.net)
Date: Sat, 11 Oct 2003 21:39:54 -0400
On Sat, 11 Oct 2003 21:25:24 -0400, Fronsac wrote:
>> Do you mean writing OO C?
> Yes, I meant writing OO C, sorry for not pointing that out in a simpler way.
> I'm still looking around and I've been on a few web sites, where they talked
> about having function pointers in structs to simulate virtual functions,
> nothing too fancy. Is that it, or there is some big picture I am missing?
> Thanks for taking some time to answer this.
Here's the general idea: