Image

Imagezhaytee wrote in Imagecpp

Can someone tell me the exact syntax for both the struct and typedef directives? I've always assumed the following:

typedef type newtype

struct name { members };

But I could be wrong. And I think I am, becaue that doesn't make much sense in the context of typedef struct combos (due to the fact that a struct statement requires a trailing semicolon after the closing brace; what the hell is up with that?), which I use far too often to be hazy about. ;D