diff --git a/src/main.cc b/src/main.cc deleted file mode 100644 index 0bcfa04..0000000 --- a/src/main.cc +++ /dev/null @@ -1,10 +0,0 @@ -#include - -using namespace std; - -int main() { - - - - return 0; -} diff --git a/src/server/main.cc b/src/server/main.cc new file mode 100644 index 0000000..3ccde6b --- /dev/null +++ b/src/server/main.cc @@ -0,0 +1,19 @@ +#include +#include + +using std::cout, std::cin, std::string; + +int main() { + + while (true) { + string message; + cout << "Enter message: "; + cin >> message; + + if (message == "exit") { + break; + } + } + + return 0; +}