- #1
31si
- 21
- 0
I am currently writing a simulation of the game of life in C. I can create a dynamically sizes 2d array in C. However I then want to pass this array to a function.
I have tried to do this however I cannot pass the array if at least one of the dimension sizes and not defined at compile time.
Does anyone know how to do this?
I have tried to do this however I cannot pass the array if at least one of the dimension sizes and not defined at compile time.
Does anyone know how to do this?