repo.or.cz
/
ACE_TAO.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge pull request #2216 from jwillemsen/jwi-cxxversionchecks
[ACE_TAO.git]
/
ACE
/
examples
/
APG
/
Logging
/
Wrap_Macros.cpp
blob
65b4e031725729d349018a020811a8a69c72c29e
1
#include
"Trace.h"
2
3
// Listing 1 code/ch03
4
void
foo
();
5
6
int
ACE_TMAIN
(
int
,
ACE_TCHAR
*[])
7
{
8
ACE_TRACE
(
"main"
);
9
MY_DEBUG
(
ACE_TEXT
(
"Hi Mom
\n
"
));
10
foo
();
11
MY_DEBUG
(
ACE_TEXT
(
"Goodnight
\n
"
));
12
return
0
;
13
}
14
15
void
foo
()
16
{
17
ACE_TRACE
(
"foo"
);
18
MY_DEBUG
(
ACE_TEXT
(
"Howdy Pardner
\n
"
));
19
}
20
// Listing 1
21