
C/C++
文章平均质量分 76
simon-扬
这个作者很懒,什么都没留下…
展开
-
open函数参数以及返回值详解
open(打开文件)相关函数 read,write,fcntl,close,link,stat,umask,unlink,fopen 表头文件 #include#include#include 定义函数 int open( const char * pathname, int flags);int open( const char * pathname,int flag原创 2012-12-19 10:32:54 · 25651 阅读 · 2 评论 -
类成员函数作线程的启动函数参数
class A{ void run() { pthread_create(&threadId, NULL, run_func, NULL); } void* run_func(void*) { // ..... }原创 2012-12-19 09:51:30 · 1485 阅读 · 0 评论 -
一些好的关于算法的文章或网站
转载于:http://blog.youkuaiyun.com/shichaosong/article/details/8861301一个朋友的博客,很多算法题http://blog.youkuaiyun.com/niushuai666/article/details/6637263http://www.cnblogs.com/zhangchaoyang/category/256478.html转载 2014-04-03 10:54:21 · 1120 阅读 · 0 评论 -
C程序中对时间的处理——time库函数详解以及系统时间结构体类型
C程序中对时间的处理——time库函数详解以及系统时间结构体类型原创 2014-12-10 14:14:20 · 9694 阅读 · 0 评论 -
C++ 应用程序性能优化 -- 内存池
引言 本书主要针对的是 C++ 程序的性能优化,深入介绍 C++ 程序性能优化的方法和实例。全书由 4 个篇组成,第 1 篇介绍 C++ 语言的对象模型,该篇是优化 C++ 程序的基础;第 2 篇主要针对如何优化 C++ 程序的内存使用;第 3 篇介绍如何优化程序的启动性能;第 4 篇介绍了三类性能优化工具,即内存分析工具、性能分析工具和 I/O 检测工具,它们是测量程序性能的利转载 2014-12-30 10:40:09 · 2982 阅读 · 1 评论