2013年8月15日

指针函数 函数指针

摘要: 函数指针是指向函数的指针,指针函数还是指一个函数的返回值是一个指针(1) float(**def)[10] def是什么?(2) double*(*gh)[10] gh是什么?(3) double(*f[10])() f是什么?(4) int*((*b)[10]) b是什么?(1) def是一个指针, 指向的对象也是一个指针, 指向的指针最终指向的是10个float构成的数组.(2) gh是指针, 指向的是10个元素构成的数组, 数组的元素是double*类型的指针.(3) f是10个元素构成的数组, 每个元素是指针, 指针指向的是函数, 函数类型为无参数且返回值为double. 下面要讲的窍 阅读全文

posted @ 2013-08-15 04:14 brave_bo 阅读(252) 评论(0) 推荐(0)

stack and heap

摘要: https://www.youtube.com/watch?v=_8-ht2AKyH4 阅读全文

posted @ 2013-08-15 02:58 brave_bo 阅读(126) 评论(0) 推荐(0)

polycom onsite

摘要: // Please do the following.// 1. void push(Object o);-- add element to the top// 2. Object pop(); -- remove element from the top// 3. boolean isEmpty(); -- true/false if stack is empty// Queue q;// void enqueue(Object o); -- add to the end of the queue// Object dequeue(); -- remove from the... 阅读全文

posted @ 2013-08-15 02:52 brave_bo 阅读(207) 评论(0) 推荐(0)

导航