22.11.2014, 21:12
As Vince said, array size must be known at compile-time.
Creating the array inside the function would be pointless as well, because it will get deleted when you exit the function and taking the data with it.
Just make the array big enough to fit everything and put in outside functions.
Creating the array inside the function would be pointless as well, because it will get deleted when you exit the function and taking the data with it.
Just make the array big enough to fit everything and put in outside functions.