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
83198118
Commit
83198118
authored
Oct 22, 2012
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Simplified example programs slightly
parent
d00864cf
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
0 additions
and
26 deletions
+0
-26
compress_stream_ex.cpp
examples/compress_stream_ex.cpp
+0
-4
object_detector_advanced_ex.cpp
examples/object_detector_advanced_ex.cpp
+0
-4
object_detector_ex.cpp
examples/object_detector_ex.cpp
+0
-4
sockets_ex.cpp
examples/sockets_ex.cpp
+0
-4
sockstreambuf_ex.cpp
examples/sockstreambuf_ex.cpp
+0
-4
train_object_detector.cpp
examples/train_object_detector.cpp
+0
-6
No files found.
examples/compress_stream_ex.cpp
View file @
83198118
...
...
@@ -237,10 +237,6 @@ int main(int argc, char** argv)
// the default message.
cout
<<
e
.
what
()
<<
endl
;
}
catch
(...)
{
cout
<<
"Some error occurred"
<<
endl
;
}
}
...
...
examples/object_detector_advanced_ex.cpp
View file @
83198118
...
...
@@ -289,10 +289,6 @@ int main()
cout
<<
"
\n
exception thrown!"
<<
endl
;
cout
<<
e
.
what
()
<<
endl
;
}
catch
(...)
{
cout
<<
"Some error occurred"
<<
endl
;
}
}
// ----------------------------------------------------------------------------------------
...
...
examples/object_detector_ex.cpp
View file @
83198118
...
...
@@ -251,10 +251,6 @@ int main()
cout
<<
"
\n
exception thrown!"
<<
endl
;
cout
<<
e
.
what
()
<<
endl
;
}
catch
(...)
{
cout
<<
"Some error occurred"
<<
endl
;
}
}
// ----------------------------------------------------------------------------------------
...
...
examples/sockets_ex.cpp
View file @
83198118
...
...
@@ -61,9 +61,5 @@ int main()
{
cout
<<
e
.
what
()
<<
endl
;
}
catch
(...)
{
cout
<<
"Some error occurred"
<<
endl
;
}
}
examples/sockstreambuf_ex.cpp
View file @
83198118
...
...
@@ -88,10 +88,6 @@ int main()
{
cout
<<
e
.
what
()
<<
endl
;
}
catch
(...)
{
cout
<<
"Some error occurred"
<<
endl
;
}
}
examples/train_object_detector.cpp
View file @
83198118
...
...
@@ -296,12 +296,6 @@ int main(int argc, char** argv)
cout
<<
"
\n
Try the -h option for more information."
<<
endl
;
return
EXIT_FAILURE
;
}
catch
(...)
{
cout
<<
"Some error occurred"
<<
endl
;
cout
<<
"
\n
Try the -h option for more information."
<<
endl
;
return
EXIT_FAILURE
;
}
return
EXIT_SUCCESS
;
}
...
...
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