Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

C shit

Name: Anonymous 2011-07-05 6:23

Hey /anus/ i need some help here with c code.

I need to do some basic interface/inheritance in C and i've been searching the google for examples but all i find is shit that is only half done or not working at all.

So here's me asking you if you can provide a simple tutorial of one that shows how it's done from the structs to the creation of them and how to pass them to functions of base type


thank you /anus/

Name: Anonymous 2011-07-05 6:57

im not a anus..

Name: Anonymous 2011-07-05 11:15

You could write a smalltalk-style messaging, with a base struct and some kind of trie to map stirngs to function pointers, and if not found then look in the trie of the parent object.  But your basically implementing an interpreter.

Name: Anonymous 2011-07-05 12:50

Name: Anonymous 2011-07-05 20:52

>>4
thank you /anus/

Name: Anonymous 2011-07-05 21:10

>>2
You're an anus!

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List