Hey so I have an array of flags ( either one or zero) and I would like to make it a global variable so I can change it in any function. The problem is that I don't know how big the array has to be until I get data from an input file so I can't define how big the array will be until I run a different function which means I cant define its size when I declare it as a global variable. How would I do this? or how would I pass the array to another function with pointers?
if this is too vague let me know