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