• This project
    • Loading...
  • Sign in

정태규 / Assignment2

%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
  • Assignment2
  • echo.cpp
  • 정태규's avatar
    exit function has been added · 266839ba
    266839ba Browse Files
    정태규 authored 2021-09-30 00:46:25 +0900
echo.cpp 200 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 input;
	getline(cin, input);
	while (input != "exit") {
		cout << input << endl;
		getline(cin, input);
	}
	return 0;
}