摘要: 例一:字符与整型变量的实现#include int main(){ int c1,c2; char c3; c1='a'-'A'; c2='b'-'B'; c3='c'-32; printf("c1 is %d and c2 is %d\n",c1,c2); ... 阅读全文
posted @ 2014-11-07 16:28 kin2321 阅读(1946) 评论(0) 推荐(0) 编辑
摘要: 前面有一篇文章:数组名就是常量指针参考文章:http://blog.pfan.cn/whyhappy/5164.htmlconst int * pi 、int const * pi与int *constpi及其操作1 从const int i 说起你知道我们申明一个变量时像这样int i ;这个i是... 阅读全文
posted @ 2014-11-07 15:00 kin2321 阅读(500) 评论(0) 推荐(0) 编辑
摘要: 1、short int i;char a;short int * pi;i=50;pi=&i;----------------指针的指针,浓重出厂short int * * ppi;//这是一个指向指针的指针,注意有两个*号ppi=π------结果:ppi是pi的地址值*ppi 是 pi地址... 阅读全文
posted @ 2014-11-07 11:04 kin2321 阅读(238) 评论(0) 推荐(0) 编辑
摘要: 其一,做任何事情都要有上中下三策其二,只要定位好自己,才能把握好未来。其三,对每一个人都要有一个人物分析,一句话概括,如何与这种人相处。 阅读全文
posted @ 2014-11-07 10:40 kin2321 阅读(127) 评论(0) 推荐(0) 编辑