Okay, dynamic allocation. Does that mean doing something like this?
{
...
char * ascii;
ascii = new char [infohead.height][infohead.width];
...
Because...
Type: Posts; User: smocc
Okay, dynamic allocation. Does that mean doing something like this?
{
...
char * ascii;
ascii = new char [infohead.height][infohead.width];
...
Because...
I'm having a problem with an error on a line where I'm trying to declare an array. Boiled down, my code looks like this:
typedef struct
{
...
int width, height;
...
}...