- 博客(11)
- 收藏
- 关注
原创 黑马程序员_NSDictionary
创建 chuang'jia Tire *t1 = [Tire new]; Tire *t2 = [Tire new]; Tire *t3 = [Tire new]; Tire *t4 = [Tire new]; NSDictionary *tire = [NSDictionary dictionaryWithObject:t1,@“front-left”,t2@“front-right”
2014-06-15 20:51:47
401
原创 黑马程序员_数组的排序法
#include int main(){ int i; int a[10]; for(i=0;i<10;i++){ printf("请输入数组a[%d]保存的数字:",i); scanf("%d",&a[i]); } void test5(int left,int right,int a[]); test5(0,9,
2014-06-01 23:39:36
496
原创 黑马程序员_流程控制
07-流程控制 选择结构(if语句、switch语句) if(表达式){ 表达式为真值执行的语句块 } else{ 表达式为假值执行的语句块 } switch(表达式) { case 情况1: 语句块1 case 情况2: 语句块2 ...... case 情况n: 语句块n
2014-05-29 09:11:03
547
原创 黑马程序员_函数,值传递和指针传递区别,转义字符,格式字符
//#include语句 include //main函数声明 int main() //函数体 { //执行语句 printf(“Hello,wold! I‘m coming!\n”); /*输出要显示的字符串*/ return 0; /*程序返回0*/ } 1.#include语句 include 2.main函数声明 in
2014-05-29 08:59:15
603
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人