Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F73317905
globals.cpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sat, Jul 20, 13:20
Size
441 B
Mime Type
text/x-c
Expires
Mon, Jul 22, 13:20 (2 d)
Engine
blob
Format
Raw Data
Handle
19182031
Attached To
R7040 TinyXML2 application examples
globals.cpp
View Options
/*
* globals.cpp
*
* Created on: Jun 25, 2018
* Author: vachoux
*/
#include "global.h"
const
std
::
string
INFO_HEAD
=
"-i- "
;
const
std
::
string
ERR_HEAD
=
"-e- "
;
void
info_msg
(
std
::
string
msg
,
bool
header
)
{
using
namespace
std
;
cout
<<
(
header
?
INFO_HEAD
:
""
)
<<
msg
<<
endl
;
}
void
err_msg
(
std
::
string
msg
,
bool
header
)
{
using
namespace
std
;
cout
<<
(
header
?
ERR_HEAD
:
""
)
<<
msg
<<
endl
;
}
Event Timeline
Log In to Comment