【VC开源代码栏目提醒】:网学会员--在 VC开源代码编辑为广大网友搜集整理了:DebugFile.cpp绩等信息,祝愿广大网友取得需要的信息,参考学习。
/**************************************************************************************
* *
* *
**************************************************************************************/
/*
* 一个'Debug'类
*
*/
#include "DebugFile.h"
DebugFile::DebugFile(char *filename)
{
this->debugFile = fopen(filename, "w");
}
DebugFile::~DebugFile()
{
fclose(this->debugFile);
}
void DebugFile::DebugInt(char *text, int d)
{
fprintf(this->debugFile, text, d);
fprintf(this->debugFile, "\n");
}
void DebugFile::DebugFloat(char *text, float d)
{
fprintf(this->debugFile, text, d);
fprintf(this->debugFile, "\n");
}
上一篇:
FMRoomQuery.frm
下一篇:
基于RFID门禁管理系统的设计