2015年9月29日
摘要: 关于字符串#include void main(){// char c = 48; char c = '0'; printf("%c\n", c); printf("%d\n", c);}在这里,我们定义了一个字符,然后在内存里面存的就是48,但是其实acsii码就是一些图片... 阅读全文
posted @ 2015-09-29 12:23 liu168aad 阅读(130) 评论(0) 推荐(0) 编辑
摘要: #include void main(){ int *p; cout << p << endl; cout << &p << endl; p = new int; *p = 5; cout << *p << endl; cout << p << endl; ... 阅读全文
posted @ 2015-09-29 12:02 liu168aad 阅读(335) 评论(0) 推荐(0) 编辑