11 lines
181 B
C++
11 lines
181 B
C++
#ifndef AND
|
|
#define AND
|
|
|
|
class andGate : public gate {
|
|
public:
|
|
andGate(wire* wire1 = nullptr, wire* wire2 = nullptr, wire* wire3 = nullptr);
|
|
int evaluate();
|
|
};
|
|
|
|
#endif // !AND
|