console.cpp
来自「SimpleGraphicOperatingSystem 32位图形化操作系统 」· C++ 代码 · 共 26 行
CPP
26 行
#include <System.h>
#include <Api.h> //Sgos api
namespace System{
int Console::Write( const char* str )
{
KDebugPrint( (char*)str );
}
int Console::Write( string& str )
{
Console::Write( str.ToString() );
}
int Console::WriteLine( const char* str )
{
KDebugPrint( (char*)str );
KDebugPrint( "\n" );
}
int Console::WriteLine( string& str )
{
Console::WriteLine( str.ToString() );
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?