Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv_contrib
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv_contrib
Commits
edeef0fd
Commit
edeef0fd
authored
Jun 25, 2014
by
Vlad Shakhuro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fprintf(stderr, ...) -> cerr << ...
parent
ab6a2c65
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
fcw_train.cpp
modules/adas/tools/fcw_train.cpp
+6
-2
No files found.
modules/adas/tools/fcw_train.cpp
View file @
edeef0fd
...
...
@@ -14,6 +14,10 @@ using std::getline;
#include <sstream>
using
std
::
stringstream
;
#include <iostream>
using
std
::
cerr
;
using
std
::
endl
;
#include <opencv2/core.hpp>
using
cv
::
Rect
;
...
...
@@ -185,10 +189,10 @@ int main(int argc, char *argv[])
}
catch
(
const
char
*
err
)
{
fprintf
(
stderr
,
"%s"
,
err
)
;
cerr
<<
err
<<
endl
;
}
catch
(
...
)
{
fprintf
(
stderr
,
"Unknown error
\n
"
)
;
cerr
<<
"Unknown error
\n
"
<<
endl
;
}
}
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