- VendingMachine/세연/1002
'무엇을 하는가' 라고 할때 InsertMoney 또는 InsertCoin 이 더 정확한 표현이라 생각되어집니다. 그리고, 역시 하는 일에 대해서 메소드로 추출함으로서 comment 를 대신 할 수 있습니다.
void vending_machine::InsertMoney()
void vending_machine::InsertMoney()
void vending_machine::InsertMoney()
void vending_machine::InsertMoney()
void InsertMoney();
void vending_machine::InsertMoney()
InsertMoney();
void insertMoney (int money) {
void InsertMoney(VendingMachine& vendingMachine);
void InsertMoney(VendingMachine& vendingMachine)
vendingMachine.insertMoney (money);
Func funcList[] = { InsertMoney, Buy, TakeBackMoney, InsertDrink, EndMachine };
Found 1 matching page out of 7540 total pages
You can also click here to search title.