No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Okay, to be honest, I don't know if its the free but thats where, after a lot of printf the code stops working. First off, I declare in main: unsigned char** imgSet and int n=0. [CODE] void loadImage(unsigned char*** imgSet, int *n) { char fileName[80]; printf("Enter filename: "); scanf("%s",fileName); addImage(imgSet,&(*n)); … |
|
I'm attempting to solve this for myself as this is homework but I can't get past the hurdle. I have an array that dynamically holds the pixels of an image (chars) in its second dimension (first being the image number). I first initialize my array variable... [CODE] unsigned char** imgSet; … |