If I declare it static is OK; but I'd like to do it not static:

Originally Posted by
fullmetalcoder
otherwise remove the "[]" in the initialisation.
if I remove [] from initialization 'spec = {1,2,2,0};' , get an error:
error C2059: syntax error : ']'
error C2143: syntax error : missing ';' before '{'
error C2143: syntax error : missing ';' before '}'
error C2059: syntax error : ']'
error C2143: syntax error : missing ';' before '{'
error C2143: syntax error : missing ';' before '}'
To copy to clipboard, switch view to plain text mode
But is it possible to do this? Thanks
Bookmarks