Search:

Type: Posts; User: smocc

Search: Search took 0.00 seconds.

  1. Replies
    7
    Views
    1,056

    Okay, dynamic allocation. Does that mean doing...

    Okay, dynamic allocation. Does that mean doing something like this?


    {
    ...
    char * ascii;
    ascii = new char [infohead.height][infohead.width];
    ...

    Because...
  2. Replies
    7
    Views
    1,056

    Variables in array declarations

    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;
    ...
    }...
Results 1 to 2 of 2