#4 Interface for Output, Update

Отворени
отворен преди 2 години от stevet · 0 коментара

Investigate creating an interface for Door objects that have Output() and Update() functions.

I'm not sure if this would be useful or not, but it certainly would make things more like what go expects. (I didn't do it in door++ because it would have required me to make a base class. Seemed like more trouble then it was worth -- and Door class already knows how to output objects via the operator<<.)

Investigate creating an interface for Door objects that have Output() and Update() functions. I'm not sure if this would be useful or not, but it certainly would make things more like what go expects. (I didn't do it in door++ because it would have required me to make a base class. Seemed like more trouble then it was worth -- and Door class already knows how to output objects via the operator<<.)
Впишете се за да се присъедините към разговора.
Няма етап
Няма изпълнител
1 участника
Зареждане...
Отказ
Запис
Все още няма съдържание.