Archived
1
0
Fork 0

Add server

This commit is contained in:
Simon V. Lejel 2024-02-08 15:26:45 +01:00
parent c384a6eec6
commit 0190c402cd
Signed by: sl
GPG key ID: 6A0D4EB88F022A21
2 changed files with 19 additions and 10 deletions

View file

@ -1,10 +0,0 @@
#include <iostream>
using namespace std;
int main() {
return 0;
}

19
src/server/main.cc Normal file
View file

@ -0,0 +1,19 @@
#include <iostream>
#include <string>
using std::cout, std::cin, std::string;
int main() {
while (true) {
string message;
cout << "Enter message: ";
cin >> message;
if (message == "exit") {
break;
}
}
return 0;
}