/* .h file defining the structure of image file: header & body */ #ifndef _HEADER_H_ #define _HEADER_H_ #include #include #include #define MAX_LINE 200 #define NUM_ARGS 3 #define OUTPUT_MAX_VALUE 255 #define USAGE "arguments: [input_file] [output_file]\n" typedef struct HEADER { int row; int col; int max_value; }header; typedef struct IMAGE{ header header; int **p_array; }image; #endif