E D R , A S I H C RSS

보드카페 관리 프로그램


~cpp 
#include <iostream>
#include <ctime>
using namespace std;

int main()
{
	time_t current;
	tm *today;

	time(&current);
	today = localtime(&current);

	cout << today->tm_hour << endl;
	cout << today->tm_min << endl;
	return 0;
}




- 테 3
- 테 4
- 3 (jenga, citadell, pit)
- 1 30 800 ( 29 0 30 800)
~cpp 
- in {table1, table2, table3} {1,2,3,4}
- play {table1, table2, table3} {jenga, citadell, pit}
- out {table1, table2, table3}
~cpp 
>> in table3 2
table3 : 2 persons : in 3:00

>> play table3 pit
table3 pit play

>> in table2 3
table3 : 2 persons : in 3:30

>> play table2 pit
have no pit

>> play table3 jenga
table3 jenga play

>> play table2 pit
table2 pit play

>> out table3
3:00 ~ 4:00 : 2 persons : 3000 won


-
- . 500. 함.
~cpp 
- buy {table1, table2, table3} {1~}
~cpp 
>> in table3 2
table3 : 2 persons : in 3:00

>> buy table3 3
table3 buy drink 3

>> out table3
3:00 ~ 4:00 : 2 persons : 3 drink :4500 won


/
---
.. -
Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2021-02-07 05:29:36
Processing time 0.0114 sec