#include #include #include #include "and.h" #include "or.h" #include "source.h" using namespace std; int main(int argc, char *argv[]) { QCoreApplication aa(argc, argv); Source a, b, c; And ab(a,b); Or ab_c(ab,c); ifstream fin(argv[1]); cout << "f(a,b,c) = a and b or c" << endl; fin >> a >> b >> c; while (!fin.eof()) { cout << a.getValue()<<" and "<