- VendingMachine/세연/1002 . . . . 11 matches
'무엇을 하는가' 라고 할때 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 };
- VendingMachine/세연/재동 . . . . 4 matches
void insertMoney();
void VendingMachine::insertMoney()
int tempInsertMoney = 0;
cin >> tempInsertMoney;
if(isMoney(tempInsertMoney))
_money += tempInsertMoney;
vendingMachine.insertMoney();
Found 2 matching pages out of 7540 total pages (5000 pages are searched)
You can also click here to search title.