You define the int myArrayOne[44][3]; in the class header, so in the constructor you don't have to re-define myArrayOne.
myArrayOne defined in the constructor is a private variable visible only in the constructor. It is different from the one defined in the class as private member.
try
Qt Code:
{ for (int r=0; r < 44; ++r) for (int c=0; c<3; ++c) myArrayOne[r][c] = 1; }To copy to clipboard, switch view to plain text mode
EDIT: There was a trivial error
Bookmarks