hi every one,
I need a simple code to read a PPM (portable pix-map) file and store its R,G,B components in Three arrays.
Images are all 256*256 and I want this code to be simple without using any Structure.
I am new at coding in C language and hence I don't understand a lot.
can you please post a simple code with comments on how it works.
I just know about arrays,pointers,files but I don't know structures.