This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
pberr
/
mw_server
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
README.md fix
master
Pedro Berrocal
5 years ago
parent
2246acae96
commit
101035658a
2 changed files
with
12 additions
and
8 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-8
README.md
+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
```
slice
2cpp 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
Write
Preview
Loading…
Cancel
Save