Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
CoMISo
Base
Commits
22db69d3
Commit
22db69d3
authored
May 25, 2016
by
Max Lyon
Browse files
flush cout when adding a new line character
parent
c706bce6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Debug/DebFile.cc
View file @
22db69d3
...
...
@@ -119,7 +119,10 @@ public:
if
(
_cnsl
)
std
::
cout
<<
_c
;
// print on the console
if
(
_c
==
'\n'
)
{
std
::
cout
<<
std
::
flush
;
line_strt_
=
true
;
}
}
void
line_break
(
const
bool
_cnsl
=
true
)
{
print
(
'\n'
,
_cnsl
);
}
...
...
Write
Preview
Supports
Markdown
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