Original Post
i defined a class in a header file, now i want to create a variable of this class:
DrawQuad var;
It works fine for now but when i try to access the variables objects, it stucks:
var.a = 1;
"a" is of course defined public.
VC6 prints following error messages:
error C2143: syntax error : missing '';'' before ''.''
error C2501: ''var'' : missing storage-class or type specifiers
error C2371: ''var'' : redefinition; different basic types