1234567891011121314151617181920
machine::machine(ifstream &infile) { int mult; int add; vector<int>spindle; while(!infile.eof()) { infile>>mult; infile>>add; spindle.push_back(mult,add); r[i+1](mult,add); } } rotor::rotor(int m, int a) :mult(m), add(a) { }