Search:

Type: Posts; User: cppfreak

Search: Search took 0.01 seconds.

  1. Indeed :) The syntax seems a bit backwards to me...

    Indeed :) The syntax seems a bit backwards to me however. I figured the syntax was "new type amount", and since the type I want is float[3] and the amount is N I seemed to get it wrong.
  2. As Laserlight pointed out there was indeed a...

    As Laserlight pointed out there was indeed a mistake in the first post, I have corrected it now (happens when you are in a hurry).

    Thank you for your answers. I fond that using


    arr=new...
  3. Using new with an array of constant length arrays

    I'm having trouble getting to grips with the syntax of new in c++. I come from a C background.

    The thing is I have a an array


    float (*arr)[3]

    so a pointer to an array of 3 floats. I now...
Results 1 to 3 of 3