Python/C++教程 第18页
C语言 __LINE__-猿说编程

C语言 __LINE__

C语言 __LINE__ - ANSI C 定义了许多宏。在编程中您可以使用这些宏,但是不能直接修改这些预定义的宏。 __DATE__ 当前日期,一个以 “MMM DD YYYY” 格式表示的字符串常量。 __TIME__ 当前时间...
猿说编程的头像-猿说编程钻石会员猿说编程4年前
029783
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,可以查看...
猿说编程的头像-猿说编程钻石会员猿说编程3年前
029720
Xcode – Mac CocoaPods 更新到最新版本-猿说编程

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...
猿说编程的头像-猿说编程钻石会员猿说编程3年前
029711
OpenGL ES EGL eglChooseConfig-猿说编程

OpenGL ES EGL eglChooseConfig

EGLConfigs 是一个用来描述 EGLSurface 配置信息的数据类型。一般来说,选择配置的方法有两种: 方法一:系统支持的配置 eglGetConfigs(跨平台时会自动获取系统支持的配置) 方法二:自定义配置...
猿说编程的头像-猿说编程钻石会员猿说编程3年前
129292
Python 递归函数-猿说编程

Python 递归函数

一个函数在函数体内部调用自己,这样的函数称为递归函数,递归的次数在 Python 是有限制的,默认递归次数是 997 次,超过 997 次会报错:RecursionError.
猿说编程的头像-猿说编程钻石会员猿说编程4年前
029172
Python GIL 锁-猿说编程

Python GIL 锁

Python GIL锁 - Python 中除了 线程互斥锁Lock 还有 GIL 锁,GIL 锁全称:Global Interpreter Lock,任何 Python 线程threading 执行前,必须先获得 GIL 锁才能执行,当线程获取到 GIL 锁之后,...
猿说编程的头像-猿说编程钻石会员猿说编程4年前
029163
C语言变量声明和定义-猿说编程

C语言变量声明和定义

C语言变量声明和定义 - 在定义变量时,变量名可以是字母、数字和下划线的组合。但是也不是随便的组合,要注意以下几个命名规则: 1.变量名的开头必须是字母或下划线,不能是数字 2.变量名中的字...
猿说编程的头像-猿说编程钻石会员猿说编程4年前
029113
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

Xcode - Embedded binary's bundle identifier is not prefixed with the parent app's bundle identifier - 如果是直接从网上下载的工程,首先检查工程 TARGETS 下的 Bundle Identifier 是否已...
猿说编程的头像-猿说编程钻石会员猿说编程4年前
029110
C语言 switch 语句-猿说编程

C语言 switch 语句

C语言 switch 语句 - 在 C 语言中,switch 语句和 if / else 类似,都可以作为条件分支判断,当分支判断较少的适合推荐使用 if / else ;当分支判断比较多的时候推荐使用 switch 语句 1.程序执...
猿说编程的头像-猿说编程钻石会员猿说编程4年前
029113
AVFoundation - AVAssetExportSession 裁剪/转码-猿说编程

AVFoundation – AVAssetExportSession 裁剪/转码

AVAssetExportSession 裁剪/转码 - /* 参数: asset :要导出的会话 presetName :字符串常量 */ - (instancetype)initWithAsset:(AVAsset *)asset presetName:(NSString *)presetName; + (inst...
猿说编程的头像-猿说编程钻石会员猿说编程4年前
029053