Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dlib
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
钟尚武
dlib
Commits
93a232d3
Commit
93a232d3
authored
Nov 17, 2012
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed bugs in examples.
parent
f45eb9c4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
iosockstream_ex.cpp
examples/iosockstream_ex.cpp
+1
-1
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()
// Here we print each character we get back one at a time.
while
(
stream
.
peek
()
!=
EOF
)
{
c
h
=
(
char
)
stream
.
get
();
c
out
<<
(
char
)
stream
.
get
();
}
}
catch
(
exception
&
e
)
...
...
examples/server_iostream_ex.cpp
View file @
93a232d3
...
...
@@ -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
);
}
}
...
...
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