2013년 5월 24일 금요일

삼항연산자 사용법.



void onoff() { state = (state == On) ? Off : On; }

편하다 참.
 

낙서.

class TV
{

enum Eng{ "Are we almost there?",

"Sorry to interrupt you.,",

"Can I ask you a questions?"};

Tv(State s = Off, int mc = 100) : state(s), volume(5)) {}

private:

};



댓글 없음:

댓글 쓰기

국정원의 댓글 공작을 지탄합니다.

UPBIT is a South Korean company, and people died of suicide cause of coin investment.

 UPBIT is a South Korean company, and people died of suicide cause of coin. The company helps the people who control the market price manipu...