I have some snippets from what I've been messing with: (in Qt)
unsigned char **data::getPictureArray(){
return(pictureArray);
}which
pictureArray has been declared in: unsigned char pictureArray[200][200];And it gives me nice error:
error: cannot convert ‘unsigned char (*)[200]’ to ‘unsigned char**’ in returnGood grief, now I've to flatten the array since I'm rather lazy to wrap in another class or vector class. :D
0 rants:
Post a Comment