Yeah, I tried it out yesterday and it works. :)
However, I found that I didn't even need to use 2D dynamic array. Thanks for your help.
Type: Posts; User: B_D_C
Yeah, I tried it out yesterday and it works. :)
However, I found that I didn't even need to use 2D dynamic array. Thanks for your help.
So that initializes both the first and second elements of the array?
I ran into another problem last night, and I want to copy my image data (which is in the format image[x][y] into a temp image, but it needs to be dynamic because the image size is always changing) to...
Just figured out another solution to my code problem. Thanks. :)
Can this code be used in the image[x][y] structure format?
I need to dynamically create this structure array, at the beginning of my program and when the window is updated.
I am using GLUT (OpenGL) to create a gradient fill image and draw it's pixels on...