Jos Timanta Tarigan wrote:
>
> colour *col=new colour[10][10]; <-- i cant compile this line.
>
> cannot convert int(*)[10] to int*
>
>  
You just need to typecast the "new colour[10][10]" to a "colour *".

colour *col = (colour *)new colour[10][10];


[Non-text portions of this message have been removed]

Reply via email to