I have a structure with an array, but the array size I know only after my program has done something else which would then set the varSize variable. But how do I do this if the array is in a structure??
how do I "pass" in varSize so when I make an instance of the structure it creates an array with "varSize" number of elements? I don't wnat to use global variables to keep in practise of good programmingCode:struct database { int anArray[varSize] };