Showing
18 changed files
with
18 additions
and
2 deletions
No preview for this file type
No preview for this file type
oss_hw2/Debug/oss_hw2.exe
0 → 100644
No preview for this file type
oss_hw2/Debug/oss_hw2.ilk
0 → 100644
No preview for this file type
oss_hw2/Debug/oss_hw2.pdb
0 → 100644
No preview for this file type
oss_hw2/oss_hw2/Debug/oss_hw2.exe.recipe
0 → 100644
1 | +<?xml version="1.0" encoding="utf-8"?> | ||
2 | +<Project> | ||
3 | + <ProjectOutputs>C:\Users\LG gram\source\repos\oss_hw2\Debug\oss_hw2.exe</ProjectOutputs> | ||
4 | + <ContentFiles></ContentFiles> | ||
5 | + <SatelliteDlls></SatelliteDlls> | ||
6 | + <NonRecipeFileRefs></NonRecipeFileRefs> | ||
7 | +</Project> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
oss_hw2/oss_hw2/Debug/oss_hw2.log
0 → 100644
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
oss_hw2/oss_hw2/Debug/vc142.idb
0 → 100644
No preview for this file type
oss_hw2/oss_hw2/Debug/vc142.pdb
0 → 100644
No preview for this file type
oss_hw2/oss_hw2/Debug/소스.obj
0 → 100644
No preview for this file type
... | @@ -8,6 +8,11 @@ int main() { | ... | @@ -8,6 +8,11 @@ int main() { |
8 | string input; | 8 | string input; |
9 | cout << "enter : "; | 9 | cout << "enter : "; |
10 | cin >> input; | 10 | cin >> input; |
11 | - cout << input; | 11 | + if (input == "exit") { |
12 | - | 12 | + return exit(0); |
13 | + } | ||
14 | + else { | ||
15 | + cout << input; | ||
16 | + } | ||
17 | + return 0; | ||
13 | } | 18 | } |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
-
Please register or login to post a comment