Introduction
I created three macro to output string in debug or release mode:
DT,DW and DE.
DT is used for output general string.
DW is used for warnning string.
and DE for error.
They are displayed with different colors.
usage is the same as TRACE.
First of all,add #include "dt.h" to stdafx.h
dt.h is include in sourcecode.
demo:
DT("general info,int=%d,errString=%s",1234,"stringDemo");
DW("warnning:%s","StarCraft is my favorite game");
DW("err,something unhappy occurs");
File info and line is add automatically.
Use DT.exe to receive message.
you can find DT.exe in sourcecode directory.
You can write your own DT receiver app,but if somebody want the sourcecode of
DT.exe,I will attach it to here.
That's all.
Game over.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.