#include #include #include "merger.h" #include int main(int argc, char *argv[]) { if(argc != 3){ printf("Error, Check your Command Line Arguments.\nExample: ./Cow_Merger \n"); return EXIT_SUCCESS; } char *imageFilePath = argv[1]; char *cowFilePath = argv[2]; clock_t t; t = clock(); merger(imageFilePath, cowFilePath); t = clock() - t; double time_taken = ((double)t)/CLOCKS_PER_SEC; // in seconds printf("merger took %f seconds to execute \n", time_taken); return EXIT_SUCCESS; }