No, your struct declaration should go in a header file or at the top of you program.

AFAIK the declaration does not create a struct it simply defines the stucture and the way its laid out so each...