On Wed, Jan 7, 2009 at 7:44 PM, Jos Timanta Tarigan
<[email protected]> wrote:

> colour *col=new colour[10][10]; <-- i cant compile this line.
>
> cannot convert int(*)[10] to int*

The declaration is wrong.

http://www.parashift.com/c++-faq-lite/freestore-mgmt.html#faq-16.16

-- Brett
------------------------------------------------------------
"In the rhythm of music a secret is hidden;
    If I were to divulge it, it would overturn the world."
               -- Jelaleddin Rumi

Reply via email to