I know this is not really a Opengl related question, but can someone pls help me !!!
I am playing around with bezier curves in opengl and I want to read my information in from a txt file into an array of 3xNxN (eg array[N][N2]). The values for N and N2 are contained in the txt file itself.
The problem is that I want the array to be global, and to do that I have to declare it before I have read from my txt file. So if i try to declare this array before i have the values the complier will disagree (of course!)
This is what I would like to do:
1 Read in txt file()
2 declare an array to the values in the txt file
1 Declare an array to say 
2 Read in array.
I know this sounds confusing, and I should know the answer to this but If anyone could help Itd b appreciated!!