repo.or.cz
/
raggin.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
initial commit
[raggin.git]
/
client_main.cpp
blob
0378ec046d61954f5a6cb1cdc77d17825c89a108
1
#include <iostream>
2
#include <exception>
3
#include
"src/client/client.hpp"
4
#include
"src/log.hpp"
5
6
using namespace
std
;
7
using namespace
raggin
::
client
;
8
9
10
int
main
()
11
try
12
{
13
init_log
();
14
client
client
(
1337
);
15
cin
.
get
();
16
}
17
catch
(
exception
&
ex
)
18
{
19
cerr
<<
ex
.
what
() <<
endl
;
20
cin
.
get
();
21
}