|
Re: Compressor will not turn on.
Try this:
Compressor *airCompressor;
airCompressor = new Compressor(1,1);
airCompressor->Start();
The code you supplied has an inadvertant error, you have declared a "new" of your variable, not of the base Compressor class. This should have given you a compiler error.
__________________
2014 Chairman's Award--Michigan State Championship
2014 Chairman's Award--Waterford District
2014 Winner--Great Lakes Bay District
2013 Chairman's Award--Kettering District
2012 Championship Division Finalists--Thanks 330 and 639
|