花费 5 ms
Initializer element is not a compile-time constant

话不多说,直接上图: 发现CGSizeMake时直接报错, 但是直接赋值就可以,这是因为初始化一个全局变量或static变量时,只能用常量赋值,不能用变量赋值! ...

Sat Sep 14 20:53:00 CST 2019 0 410
C#类中static变量

using System; namespace Param { class Class1 { static int i = getN ...

Sun Jan 04 01:54:00 CST 2015 0 2053

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM