임연수

add exit_func

Showing 1 changed file with 12 additions and 0 deletions
#include <iostream>
#include <string>
using namespace std;
int exit_func(string a)
{
string exit = "exit";
if(a.compare(b) == 0)
return 0;
else
return 1;
}
int main()
{
string std;
cin >> std;
cout << std;
if(exit_func(std))
;
else
return 0;
return 0;
}
......