When I use this
comparer.exe <test_comparer24_1>.bmp <test_comparer24_2>.bmp
in cmd, this error show up
The specified file could not be found
even thought I have the bmp files in the same folder. This is the part of code:
int main(int argc, char *argv[]) {
if (argc != 3) {
fprintf(stderr, "Use the format: %s <filename1>.bmp <filename2>.bmp\n", argv[0]);
return -1;
}
return BMPComparer(argv[1], argv[2]);
}
any ideas to help me figure this out ?
.bmp
extension, and you definitely don't need the angle brackets. Trycomparer.exe test_comparer24_1 test_comparer24_2
instead