排序
C语言代码注释
C语言代码注释 - 注释是为了使别人能看懂你写的程序,也为了使你在若干年后还能看得懂你曾经写的程序而设定的。 注释是写给程序员看的,不是写给电脑看的。所以注释的内容,C语言编译器在编译时...
C/C++ allocating an object of abstract class type
C/C++ allocating an object of abstract class type 原因:一般是因为该类继承的抽象类中,有未实现的抽象函数。 在实例化的时候: (a)一定要确保父类所有的纯虚函数都要被实现,否则子类依...
Xcode – Mac CocoaPods 更新到最新版本
Xcode – Mac CocoaPods 更新到最新版本 - 1.查看当前 CocoaPods 版本 pod --version 2.更新 CocoaPods 版本到最新 1.pod setup 2.sudo gem install cocoapods //或使用sudo gem install -n /us...
Python中文编码
Python 到目前为止,一共有两个版本,分别是 2.x 和 3.x 版本,根据官方正式通知 2020 年停止对 Python 更新和维护,距离今天还有 110 天左右,所以正在学习Python 的小伙伴应该暗中庆幸一波。 ...
Visual Studio 2013 / 2015 完全卸载
Visual Studio 2013 / 2015 完全卸载 -Visual Studio 一共有三个版本: 如果是企业版:vs_enterprise.exe 如果是社区版:vs_community.exe 如果是专业版:vs_professional.exe 在C盘的搜索框内...
Xcode – Embedded binary’s bundle identifier is not prefixed with the parent app’s bundle identifier
Xcode - Embedded binary's bundle identifier is not prefixed with the parent app's bundle identifier - 如果是直接从网上下载的工程,首先检查工程 TARGETS 下的 Bundle Identifier 是否已...
C语言 switch 语句
C语言 switch 语句 - 在 C 语言中,switch 语句和 if / else 类似,都可以作为条件分支判断,当分支判断较少的适合推荐使用 if / else ;当分支判断比较多的时候推荐使用 switch 语句 1.程序执...
AVFoundation – AVAssetExportSession 裁剪/转码
AVAssetExportSession 裁剪/转码 - /* 参数: asset :要导出的会话 presetName :字符串常量 */ - (instancetype)initWithAsset:(AVAsset *)asset presetName:(NSString *)presetName; + (inst...
Python 字符串
二.Python字符串运算符 三.字符串构造 四.字符串截取 五.字符串替换 – replace()方法 六.字符串大小写 字符串中的每一个字符都有一个默认的索引值,从左到右默认重0开始,依次递增;从右往左默...

















