2015年1月30日

c++常用函数STL

摘要: 完c++快一年了,感觉很有遗憾,因为一直没有感觉到c++的强大之处,当时最大的感觉就是这个东西的输入输出比C语言要简单好写。 后来我发现了qt,opencv,opengl,原来,c++好玩的狠。 在这些图形库之外,最常用的可能就是STL,这个东西由于当时学c++的时候迷迷糊糊,完全是一头雾水,上... 阅读全文

posted @ 2015-01-30 20:18 盒子先生金金 阅读(267) 评论(0) 推荐(0) 编辑

面试中常见算法1

摘要: Problem 1 : Is it a loop ? (判断链表是否有环?)Assume that wehave a head pointer to a link-list. Also assumethat we know the list is single-linked. Can you com... 阅读全文

posted @ 2015-01-30 19:07 盒子先生金金 阅读(141) 评论(0) 推荐(0) 编辑

ACM实用C语言函数

摘要: 函数名: abs 功 能: 求整数的绝对值用 法: int abs(int i);程序例:#include #include int main(void){ int number = -1234; printf("number: %d absolute value: %d/n", numb... 阅读全文

posted @ 2015-01-30 18:49 盒子先生金金 阅读(245) 评论(0) 推荐(0) 编辑

导航