Here\'s what I\'m trying to do:
#include
#include
struct myStruct {
int myVar;
}
struct myStruct myBigList = null;
vo
This is because struct name is not automatically converted into a type name. In C (not C++) you have to explicitly typedef a type name.
Either use
struct myStruct instance;
when using the type name OR typedef it like this
typedef struct {
int myVar;
} myStruct;
now myStruct can simply be used as a type name similar to int or any other type.
Note that this is only needed in C. C++ automatically typedefs each struct / class name.
A good convention when extending this to structs containing pointers to the same type is here