有同学们指出在 hw3-2 的 cirGate.h 加入 virtual functions 之后
会造成 compile or runtime 的 error.
经过试验,我们发现目前这样的 libcirref.a 的确不能随意在 cirGate.h 里头加入
virtual functions.
因此,我们统一将 ref code 的 virtual functions open 出来,
虽然可能会扼杀大家写 code 的 flexibility,但也没有别的办法。
请大家重新下载 hw3.tgz (for cirGate.h and cirSim.cpp),
造成不便,敬请见谅。