fileconsolerenderingcontext.cpp
来自「java实现的简单的分形树。简单易学!是学习分形知识的很好的例子。其java语法」· C++ 代码 · 共 30 行
CPP
30 行
// --------------------------------------------------------------------------
// Dingus project - a collection of subsystems for game/graphics applications
// --------------------------------------------------------------------------
#include "stdafx.h"
#include "FileConsoleRenderingContext.h"
#include <time.h>
using namespace dingus;
//---------------------------------------------------------------------------
// CFileConsoleRenderingContext
//---------------------------------------------------------------------------
CFileConsoleRenderingContext::CFileConsoleRenderingContext( const std::string& fileName )
: mFile( fileName.c_str() )
{
}
CFileConsoleRenderingContext::~CFileConsoleRenderingContext()
{
}
void CFileConsoleRenderingContext::write( const std::string& message )
{
mFile << message;
mFile.flush();
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?