Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
93a232d3
"...git@developer.sourcefind.cn:renzhc/diffusers_dcu.git" did not exist on "051b34635fda2fc310898a6a602c89be8663b77f"
Commit
93a232d3
authored
Nov 17, 2012
by
Davis King
Browse files
Fixed bugs in examples.
parent
f45eb9c4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
examples/iosockstream_ex.cpp
examples/iosockstream_ex.cpp
+1
-1
examples/server_iostream_ex.cpp
examples/server_iostream_ex.cpp
+1
-1
No files found.
examples/iosockstream_ex.cpp
View file @
93a232d3
...
@@ -35,7 +35,7 @@ int main()
...
@@ -35,7 +35,7 @@ int main()
// Here we print each character we get back one at a time.
// Here we print each character we get back one at a time.
while
(
stream
.
peek
()
!=
EOF
)
while
(
stream
.
peek
()
!=
EOF
)
{
{
c
h
=
(
char
)
stream
.
get
();
c
out
<<
(
char
)
stream
.
get
();
}
}
}
}
catch
(
exception
&
e
)
catch
(
exception
&
e
)
...
...
examples/server_iostream_ex.cpp
View file @
93a232d3
...
@@ -56,7 +56,7 @@ class serv : public server_iostream
...
@@ -56,7 +56,7 @@ class serv : public server_iostream
char
ch
=
in
.
get
();
char
ch
=
in
.
get
();
// now echo it back to them
// now echo it back to them
out
<<
toupper
(
ch
);
out
<<
(
char
)
toupper
(
ch
);
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment