im trying to continuously compare an image with itself. the command works fine when typed in the prompt, but when i run the program below, i get the output: "compare: unable to open image 'C:ob.jpg': No such file or directory. any ideas. thanks.
using namespace std;
system("compare C:\rob.jpg C:\rob.jpg C:\3.bmp");