utility.cpp
来自「CppUnit 是著名的用于单元测试的JUnit框架的C++移植。测试输出是XM」· C++ 代码 · 共 21 行
CPP
21 行
// Utility.cpp: implementation of the Utility class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "Utility.h"
CString GetFullPath( CString path )
{
try
{
return CFile( path, CFile::modeRead ).GetFilePath();
}
catch ( CFileException *e )
{
e->Delete();
}
return "";
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?