mirror of https://github.com/davisking/dlib.git
Fixed bugs in examples.
This commit is contained in:
parent
f45eb9c404
commit
93a232d3e0
|
@ -35,7 +35,7 @@ int main()
|
|||
// Here we print each character we get back one at a time.
|
||||
while (stream.peek() != EOF)
|
||||
{
|
||||
ch = (char)stream.get();
|
||||
cout << (char)stream.get();
|
||||
}
|
||||
}
|
||||
catch (exception& e)
|
||||
|
|
|
@ -56,7 +56,7 @@ class serv : public server_iostream
|
|||
char ch = in.get();
|
||||
|
||||
// now echo it back to them
|
||||
out << toupper(ch);
|
||||
out << (char)toupper(ch);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue