• This project
    • Loading...
  • Sign in

손지언 / Assignment0925-2

%ea%b7%b8%eb%a6%bc1
Go to a project
Toggle navigation Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Snippets
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • Assignment0925-2
  • exit.cpp
  • sju0924's avatar
    add exit and branch exit · 36d09e77
    36d09e77
    sju0924 authored 2020-09-25 22:11:40 +0900
exit.cpp 160 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13
#include <iostream>
#include <string>
using namespace std;

int main()
{   
    string str;
    while(1){
    cin>>str;
    if(str == "exit") exit(0);
    }
 
}