摘要:
上一节我们讲到了指针和数组, 这次我们来讲解一下指针和字符串, 这次的内容和上一节有相似的地方, 也有全新学习的地方, 让我们一起来看看吧~~下面我们来看一个小例子:#include int main(){ char name[] = "abcde"; name[0] = 'A'... 阅读全文
posted @ 2015-01-07 21:11
背着吉他去流浪
阅读(197)
评论(0)
推荐(0)
摘要:
上一节, 我们补充了一点关于指针的小知识, 这次我们来讲讲指针和数组:首先, 我们来看一个小例子:#include int main(){ int ages[5] = {10, 20, 30, 40 ,50}; int *p; p = &ages[0]; ... 阅读全文
posted @ 2015-01-07 11:20
背着吉他去流浪
阅读(177)
评论(0)
推荐(0)

浙公网安备 33010602011771号