Browse Source

README.md fix

master
Pedro Berrocal 5 years ago
parent
commit
101035658a
2 changed files with 12 additions and 8 deletions
  1. +3
    -8
      README.md
  2. +9
    -0
      include/MWUtils.h

+ 3
- 8
README.md View File

@ -19,17 +19,12 @@ sudo apt-get install libzeroc-freeze-dev zeroc-freeze-utils
### Generate headers
```
slice2cpp Printer.ice
make slice
```
### Compile
### Compile & link
```
c++ -std=c++11 -pthread -I. -DICE_CPP11_MAPPING -c Printer.cpp Server.cpp
```
### Link
```
c++ -pthread -o server Printer.o Server.o -lIce++11
make mwserver
```
# Develpment


+ 9
- 0
include/MWUtils.h View File

@ -0,0 +1,9 @@
#ifndef MW_UTILS_H
#define MW_UTILS_H
#include <string>
std::string validateName(const std::string&);
std::string validateMessage(const std::string&);
#endif

Loading…
Cancel
Save