enum
#include "stdafx.h"#include #include enum State {Stop,Playing,Paused}; State CIn(void) {using namespace std; string input; cin >> input; if (input == "Playing") {return Playing;}else if (input == "Paused") {return Paused;}else {return Stop;} } int main() {using namespace std;State play = Playing; while (true) {if (play == Playing){cout
카테고리 없음
2018. 2. 2.