안지영

commit

No preview for this file type
No preview for this file type
No preview for this file type
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
1 + 소스.cpp
2 + oss_hw2.vcxproj -> C:\Users\LG gram\source\repos\oss_hw2\Debug\oss_hw2.exe
1 +PlatformToolSet=v142:VCToolArchitecture=Native32Bit:VCToolsVersion=14.27.29110:TargetPlatformVersion=10.0.18362.0:
2 +Debug|Win32|C:\Users\LG gram\source\repos\oss_hw2\|
No preview for this file type
No preview for this file type
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
......