Showing
18 changed files
with
6 additions
and
3 deletions
No preview for this file type
No preview for this file type
This file is too large to display.
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
1 | PlatformToolSet=v142:VCToolArchitecture=Native32Bit:VCToolsVersion=14.26.28801:TargetPlatformVersion=10.0.18362.0: | 1 | PlatformToolSet=v142:VCToolArchitecture=Native32Bit:VCToolsVersion=14.26.28801:TargetPlatformVersion=10.0.18362.0: |
2 | -Debug|Win32|C:\Users\User\Desktop\1\assignment2\Project1\| | 2 | +Debug|Win32|C:\Users\User\Desktop\4\assignment2\Project1\| | ... | ... |
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
... | @@ -5,7 +5,10 @@ int main() | ... | @@ -5,7 +5,10 @@ int main() |
5 | { | 5 | { |
6 | string a; | 6 | string a; |
7 | cin >> a; | 7 | cin >> a; |
8 | - cout << a; | 8 | + if (a == "exit") |
9 | + exit(100); | ||
10 | + else | ||
11 | + cout << a; | ||
9 | 12 | ||
10 | return 0; | 13 | return 0; |
11 | } | 14 | } |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
-
Please register or login to post a comment