摘要: 1.类型别名 关键字typedef typedef int myInt; //myInt为int同义词 可以用myInt来声明对象 myInt a = 0; //等于int a = 0 在函数指针中typedef用处更大,以后细说 C++11新标准下,可以用using using myInt = i 阅读全文
posted @ 2017-10-07 21:50 CoderZSL 阅读(123) 评论(0) 推荐(0)