home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power GUI Programming with VisualAge C++
/
powergui.iso
/
powergui
/
debug
/
trace
/
trace.cpp
< prev
Wrap
Text File
|
1996-10-29
|
598b
|
25 lines
//************************************************************
// Problem Determination - Simple Trace Example
//
// Copyright (C) 1994, Law, Leong, Love, Olson, Tsuji.
// Copyright (c) 1997 John Wiley & Sons, Inc.
// All Rights Reserved.
//************************************************************
#include <itrace.hpp>
#include <istring.hpp>
int foo(unsigned long count);
void main()
{
IMODTRACE_DEVELOP("main");
foo(10);
}
int foo(unsigned long count)
{
IFUNCTRACE_DEVELOP();
ITRACE_DEVELOP(IString("The count is ")+IString(count).d2x());
return 0;
}