Can someone who knows C++ tell me what i doing silly in the code below
i'm getting the error
"Cannot convert int * to int in function main"
Code:#include <stdlib.h> #include <iostream.h> int main(void) { int i,j; int ***DataCamera; DataCamera = new int[10]; for (i=0;i<=10;i++);{ DataCamera[i] = new int [20]; for (j=0;j<=10;j++); DataCamera[i][j]=new int[5]; } return 0; }
any idea how i can fix it



LinkBack URL
About LinkBacks


