2022年01月的文章 第2页

C/C++ error LNK2005:

C/C++ error LNK2005:”XXX已经在 XXX.obj 中定义

C/C++ error LNK2005:'XXX已经在 XXX.obj 中定义 - 1.C/C++ 中,当头文件定义变量时,可能会发生 error LNK2005。 例如,如果在项目中的多个源文件中包括此头文件,则会导致错误 方案一:在头文...
猿说编程的头像-猿说编程钻石会员猿说编程2年前
014160
C/C++ 使用 dumpbin 查看静态库和动态库是32位还是64位-猿说编程

C/C++ 使用 dumpbin 查看静态库和动态库是32位还是64位

C/C++ 使用 dumpbin 查看静态库和动态库是32位还是64位 - dumpbin.exe 为 Microsoft COFF 二进制文件转换器,它显示有关通用对象文件格式 (COFF) 二进制文件的信息,如果想查看其中这些文件或库...
C/C++ Visual Studio 中 dumpbin 工具使用-猿说编程

C/C++ Visual Studio 中 dumpbin 工具使用

Visual Studio 中 dumpbin 工具使用 - dumpbin.exe 为 Microsoft COFF 二进制文件转换器,它显示有关通用对象文件格式 (COFF) 二进制文件的信息,如果想查看其中这些文件或库包含了哪些函数以及...
猿说编程的头像-猿说编程钻石会员猿说编程2年前
022541
C/C++ std::string 使用介绍-猿说编程

C/C++ std::string 使用介绍

C/C++ std::string 使用介绍 一.string类的构造函数 二.string类的字符操作 三.string的特性描述 四.string的赋值 五.string的连接 六.string的比较 七.string的交换 八.string类的查找函数 九....
猿说编程的头像-猿说编程钻石会员猿说编程2年前
08510
Xcode - Xcode 提示 there is no memory profiling because NSZombieEnabled is enabled-猿说编程

Xcode – Xcode 提示 there is no memory profiling because NSZombieEnabled is enabled

Xcode - Xcode如何解决Memory不显示内存使用的问题 - Xcode 显示 there is no memory profiling because NSZombieEnabled is enabled,打开 Diagnostics 之后找到 Memory Management,可以查看...
C/C++ error:表达式是必须修改的左值-猿说编程

C/C++ error:表达式是必须修改的左值

C/C++ error:表达式是必须修改的左值 - 在 C++ 中为字符串数组赋值时,出现” 表达式必须是可修改的左值 “的错误提醒,编译报错“不可指定数据类型”。示例代码如下: /*********************...
猿说编程的头像-猿说编程钻石会员猿说编程2年前
010170
C/C++ error C1083: Cannot open include file: 'dirent.h': No such file or directory-猿说编程

C/C++ error C1083: Cannot open include file: ‘dirent.h’: No such file or directory

C/C++ error C1083: Cannot open include file: 'dirent.h': No such file or directory - 是一个应用程序接口,主要用于文件系统的目录读取操作,主要提供了几个目录数据读取函数,参见 opengrou...
猿说编程的头像-猿说编程钻石会员猿说编程2年前
013140
error C3861: “memset”: 找不到标识符-猿说编程

error C3861: “memset”: 找不到标识符

error C3861: “memset”: 找不到标识符 - memset 函数是计算机中 C / C++ 语言初始化函数。作用是将某一块内存中的内容全部设置为指定的值, 这个函数通常为新申请的内存做初始化工作。 使用 m...
猿说编程的头像-猿说编程钻石会员猿说编程2年前
028190
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 之前是不会当成错误的,目前这个问题有两个解决方...
猿说编程的头像-猿说编程钻石会员猿说编程2年前
07630
C/C++ error C4146: 一元负运算符应用于无符号类型,结果仍为无符号类型-猿说编程

C/C++ error C4146: 一元负运算符应用于无符号类型,结果仍为无符号类型

C/C++ error C4146: 一元负运算符应用于无符号类型,结果仍为无符号类型 - 由于编译器SDL安全检查认为这一操作(通常是为无符号整形取负的操作)无效而产生的。
猿说编程的头像-猿说编程钻石会员猿说编程2年前
019260