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

C dynamic structure

Name: Anonymous 2011-12-05 10:24

Something I've been wondering,

Is it possible at runtime to dynamically create a struct? I don't mean dynamic array size, I mean the variables and such inside a structure.

Name: 2 2011-12-05 10:33

>>5
you could create a place holder void*(or a couple void** etc) for a and try mapping the struct to it with some serious unsafe dark magic

face it OP, this type of stuff isn't really what C is designed for

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