随笔分类 -  C

学习C语言关键点
摘要:参考:http://developer.51cto.com/art/200906/126363.htm http://www.cnblogs.com/feisky/archive/2010/03/21/1691170.html1 下载eclipseeclipse:http://eclipse.org... 阅读全文
posted @ 2015-03-18 19:52 王超_cc 编辑
摘要:参考:http://developer.51cto.com/art/200906/126363.htm http://www.cnblogs.com/feisky/archive/2010/03/21/1691170.html1 下载eclipseeclipse:http://eclipse.org... 阅读全文
posted @ 2015-03-18 09:11 王超_cc 编辑
摘要:1 准备工作 下载mingw-get-setup.exe并且安装 参考http://www.jb51.net/softjc/159871.html 环境变量更新: PATH .;C:\MinGW\bin;%JAVA_HOME%; C_INCLUDE_PATH C:\MinGW\include ... 阅读全文
posted @ 2015-03-17 09:22 王超_cc 编辑
摘要:四 指针与数组 指针 就是地址 1 定义 int *p;2 初始化 int a,*p=&a; 把a的地址给*p指针变量有了谁的地址就是指向谁.则*p就代表了这个变量.*p代表 a3 操作 int a ,*p=&a;*p=5; a 等价注意 : * 三个用途 1 乘法运算 2 取值运算符 3 说明符... 阅读全文
posted @ 2015-03-10 19:21 王超_cc 编辑
摘要:1 定义变量int x,y,z;2 定义指针变量int *xp,*yp,*zp;3 将变量地址赋予指针变量*xp=&x,*yp=&y,*zp=&z; 阅读全文
posted @ 2014-11-26 16:47 王超_cc 编辑
摘要:1/*the first c programme*/#include main(){ int num = 1; scanf("%d",&num); printf("%d",num); getch(); } 主要考察输入输出.然后输出结果是:你输入什么就在屏幕输出什么.2#in... 阅读全文
posted @ 2014-11-23 18:11 王超_cc 编辑

点击右上角即可分享
微信分享提示