搜索结果
查询Tags标签: LPCSTR,共有 5条记录-
windows标准函数连接路径
将合法路径连接 可以直接使用windows的函数,其实很多时候windows已经写好了函数只不过是大家不知道而已 LPSTR PathCombineA([out] LPSTR pszDest,//用于接取路径[in, optional] LPCSTR pszDir,//路径【前】[in] LPCSTR pszFile//路径【后】 );
2022/6/24 5:21:08 人评论 次浏览 -
operator new delete操作符重载
#include <iostream> using namespace std; typedef const char* FX_LPCSTR; class CFX_Object {public:void* operator new(size_t size, FX_LPCSTR file, int line){return malloc(size);}void operator delete(void*p,FX_LPCSTR file,int size){free(p);}}; int …
2021/12/30 6:07:18 人评论 次浏览 -
operator new delete操作符重载
#include <iostream> using namespace std; typedef const char* FX_LPCSTR; class CFX_Object {public:void* operator new(size_t size, FX_LPCSTR file, int line){return malloc(size);}void operator delete(void*p,FX_LPCSTR file,int size){free(p);}}; int …
2021/12/30 6:07:18 人评论 次浏览 -
CFX_StringData
// 你必须定义一个 `main()` 函数入口。 #include <iostream> using namespace std; typedef const char* FX_LPCSTR; typedef char FX_CHAR; typedef int FX_STRSIZE; class CFX_Object {public:void* operator new(size_t size, FX_LPCSTR file, int line){return…
2021/12/30 6:07:17 人评论 次浏览 -
CFX_StringData
// 你必须定义一个 `main()` 函数入口。 #include <iostream> using namespace std; typedef const char* FX_LPCSTR; typedef char FX_CHAR; typedef int FX_STRSIZE; class CFX_Object {public:void* operator new(size_t size, FX_LPCSTR file, int line){return…
2021/12/30 6:07:17 人评论 次浏览