摘要:
终于跑起来了,含自定义 include .h 的c语言程序,超开心呀! header files contain prototypes for functions you define in a .c or .cpp/.cxx file (depending if you're using c or 阅读全文
posted @ 2016-12-21 11:29
立志做一个好的程序员
阅读(297)
评论(0)
推荐(0)
摘要:
原文: http://www.cnblogs.com/zhangShanGui/p/4912135.html C语言的编译过程和GCC编译参数 C语言的编译一般有三个步骤: 预编译: gcc -E -o a.e a.c 预编译a.c文件,生成的目标文件名为a.e 预编译就是将include包含的头文 阅读全文
posted @ 2016-12-21 10:57
立志做一个好的程序员
阅读(710)
评论(0)
推荐(0)
摘要:
vim 要默认打开的时候显示行号,这样就可以不用每次编辑的时候在手动在命令模式下:set number 来显示行号。 具体做法是: 创建一个 .vimrc的配置文件。 在启动vim时,当前用户根目录下的.vimrc文件会被自动读取,该文件可以包含一些设置甚至脚本,所以,一般情况下把.vimrc文件创 阅读全文
posted @ 2016-12-21 10:49
立志做一个好的程序员
阅读(11226)
评论(0)
推荐(2)
摘要:
pthread_create函数 原型:int pthread_create((pthread_t *thread, pthread_attr_t *attr, void *(*start_routine)(void *), void *arg) 用法:#include <pthread.h> 功能 阅读全文
posted @ 2016-12-21 10:41
立志做一个好的程序员
阅读(1498)
评论(0)
推荐(0)

浙公网安备 33010602011771号