• This project
    • Loading...
  • Sign in

안지현 / gitBranch

%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
  • gitBranch
  • exit.cpp
  • 안지현's avatar
    exit edited · b2f4a3e8
    b2f4a3e8
    안지현 authored 2022-03-31 22:48:11 +0900
exit.cpp 173 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14
#include <iostream>
using namespace std;

int main() {

	string c;
	string e = "exit";
	cout << "Enter message" << endl;
	cin >> c;
	if (c == e) {
		exit(0);
	}
	return 0;
}