C++ 第6页
C/C++ 获取 exe 路径-猿说编程

C/C++ 获取 exe 路径

C/C++ 获取 exe 路径 - std::string GetProgramDir() { char exeFullPath[MAX_PATH]; // Full path std::string strPath = ''; GetModuleFileName(NULL,exeFullPath,MAX_PATH); //获取带有可执...
猿说编程的头像-猿说编程钻石会员猿说编程3年前
011391
C/C++ Visual Studio x86/x64/Any CPU编译区别-猿说编程

C/C++ Visual Studio x86/x64/Any CPU编译区别

C/C++ Visual Studio x86/x64/Any CPU编译区别 - Visual Studio 使用 x86 平台编译出来的 exe (可执行文件)或 dll (动态链接库)都是32位的; Visual Studio 使用 x64 平台编译出来的 exe (可执...
猿说编程的头像-猿说编程钻石会员猿说编程3年前
010870
C/C++ error LNK2005: _DllMain@12 已经在 MSVCRTD.lib(dll_dllmain_stub.obj) 中定义-猿说编程

C/C++ error LNK2005: _DllMain@12 已经在 MSVCRTD.lib(dll_dllmain_stub.obj) 中定义

C/C++ error LNK2005: _DllMain@12 已经在 MSVCRTD.lib(dll_dllmain_stub.obj) 中定义 把 _USRDLL 删除进行编译即可解决
猿说编程的头像-猿说编程钻石会员猿说编程4年前
010740
C/C++ nafxcw.lib(appui1.obj) : error LNK2005:

C/C++ nafxcw.lib(appui1.obj) : error LNK2005: “class CWinApp * __cdecl AfxGetApp(void)” (?AfxGetApp@@YAPEAVCWinApp@@XZ) 已经在 uafxcwd.lib(afxinl2.obj) 中定义

C/C++ nafxcw.lib(appui1.obj) : error LNK2005: 'class CWinApp * __cdecl AfxGetApp(void)' (?AfxGetApp@@YAPEAVCWinApp@@XZ) 已经在 uafxcwd.lib(afxinl2.obj) 中定义 - 附加依赖库:nafxcwd...
猿说编程的头像-猿说编程钻石会员猿说编程3年前
010000
C/C++ uafxcwd.lib(afxmem.obj) : error LNK2005:

C/C++ uafxcwd.lib(afxmem.obj) : error LNK2005: “void * __cdecl operator new(unsigned int)已经在 LIBCMTD.lib(new.obj) 中定义解决办法

C/C++ uafxcwd.lib(afxmem.obj) : error LNK2005: 'void * __cdecl operator new(unsigned int)已经在 LIBCMTD.lib(new.obj) 中定义解决办法 - 1>uafxcwd.lib(afxmem.obj) : error LNK2005: 'vo...
猿说编程的头像-猿说编程钻石会员猿说编程3年前
09491
C/C++ std::string 和 char* 相互转换-猿说编程

C/C++ std::string 和 char* 相互转换

C/C++ std::string 和 char* 相互转换
猿说编程的头像-猿说编程钻石会员猿说编程4年前
09180
C/C++ =delete-猿说编程

C/C++ =delete

C/C++ =delete - C++11中,当我们定义一个类的成员函数时,如果后面使用 '=delete' 去修饰,那么就表示这个函数被定义为 deleted ,也就意味着这个成员函数不能再被调用,否则就会出错。
猿说编程的头像-猿说编程钻石会员猿说编程4年前
09120
C/C++ error C4996: 'getch': The POSIX name for this item is deprecated. Instead, use the ISO C++ conf-猿说编程

C/C++ error C4996: ‘getch’: The POSIX name for this item is deprecated. Instead, use the ISO C++ conf

C/C++ error C4996: 'getch': The POSIX name for this item is deprecated. Instead, use the ISO C++ conf - 这个问题在 Visual Studio 2012 之前是不会当成错误的,目前这个问题有两个解决方...
猿说编程的头像-猿说编程钻石会员猿说编程3年前
08970
C语言飞机大战-猿说编程

C语言飞机大战⭐️⭐️⭐️⭐⭐

C语言飞机大战,C语言项目,C语言练手项目,C语言实战,C语言教程
C++ 设计模式 – 适配器模式-猿说编程

C++ 设计模式 – 适配器模式

C++ 设计模式 – 适配器模式 - 适配器模式(Adapter Pattern)是一种补救模式,将一个类的接口转换成客户希望的另外一个接口,从而使原本由于接口不兼容而不能一起工作的类可以一起工作。
猿说编程的头像-猿说编程钻石会员猿说编程2年前
08046