I have three C++11 programs, A.cpp (writing to an input file), and B.cpp and C.cpp (both writing to stdout). Is there a way to run A.cpp, then run B.cpp and C.cpp and compare B and C's outputs, and if they're the same then break, and if they're different then start over with running A, B, and C etc (loop upto 1000 times)?
I'm on Windows 10, so optimally I would like a Python or bash script, but bash is a pain in Windows (although I do use Gow, which adds some functionality to cmd. I don't have cygwin.).
Aucun commentaire:
Enregistrer un commentaire