Showing
1 changed file
with
17 additions
and
0 deletions
hello.cpp
0 → 100644
| 1 | +#include<iostream> | ||
| 2 | +#include<string> | ||
| 3 | +using namespace std; | ||
| 4 | + | ||
| 5 | +int main() | ||
| 6 | +{ | ||
| 7 | + cout << "강의영상 1:30 부터인가 싱크 안맞아요" << endl; | ||
| 8 | + | ||
| 9 | + string com; | ||
| 10 | + cout << ">"; | ||
| 11 | + cin >> com; | ||
| 12 | + | ||
| 13 | + if(com=="exit") | ||
| 14 | + exit(0); | ||
| 15 | + | ||
| 16 | + return 0; | ||
| 17 | +} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
-
Please register or login to post a comment