• This project
    • Loading...
  • Sign in

전현진 / 21.03.26_HW

%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
  • 21.03.26_HW
  • EchoProgram
  • EchoString.h
  • 전현진's avatar
    echo program · 4095fd2e
    4095fd2e
    전현진 authored 2021-03-26 21:49:22 +0900
EchoString.h 351 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
#pragma once

#include <string>
#include <iostream>

class EchoString
{
private:
	std::string mEcho;

public:
	void PrintScreen();
	void InputString();

	EchoString();
	virtual ~EchoString();

public:
	void setEcho(const std::string& echo) { mEcho = echo; }
	std::string getEcho()	const { return mEcho; }
	std::string getEcho() { return mEcho; }

};