上一页 1 ··· 24 25 26 27 28 29 30 31 32 ··· 41 下一页

2019年7月18日

Makefile 简要辅导 【转载】

摘要: A Simple Makefile Tutorial Makefiles are a simple way to organize code compilation. This tutorial does not even scratch the surface of what is possibl 阅读全文

posted @ 2019-07-18 09:50 liujx2019 阅读(173) 评论(0) 推荐(0)

Makefile 中引用多个 include 路径

摘要: LIB=-L/usr/informix/lib/c++ INC=-I/usr/informix/incl/c++ -I/opt/informix/incl/public default: main main: test.cpp gcc -Wall $(LIB) $(INC) -c test.cpp #gcc -Wall $(LIB) $(INC) ... 阅读全文

posted @ 2019-07-18 09:47 liujx2019 阅读(5449) 评论(0) 推荐(0)

Makefile 头文件 <> 与 "" 的差别,与 Visual Studio 不同

摘要: #include "" : 首先在所有被编译的.c所在的路径中,查找头文件,如果找不到,则到 -I路径下去找头文件#inclue <> :首先在-I路径下去找,如果找不到,那就找不到了,编译错误 阅读全文

posted @ 2019-07-18 09:45 liujx2019 阅读(260) 评论(0) 推荐(0)

2019年7月17日

tagbar 调到函数定义再跳回

摘要: 首先要在源码文件夹下执行 ctags -R * 生成tags文件 齐次要安装 YouCompleteMe ctrl + ] 跳到函数定义 Ctrl-o 和 Ctrl-I 跳回。我试验的只有 Ctrl-o有效 另外,对于调用和定义不再同一个文件中的情况。配置文件`.vimrc`中添加`map gd : 阅读全文

posted @ 2019-07-17 10:50 liujx2019 阅读(583) 评论(0) 推荐(0)

Github C 编译器项目 8cc main函数中用到的 C库函数

摘要: atexit C 库函数 int atexit(void (*func)(void)) 当程序正常终止时,调用指定的函数 func。您可以在任何地方注册你的终止函数,但它会在程序终止的时候被调用。 setbuf C 库函数 void setbuf(FILE *stream, char *buffer 阅读全文

posted @ 2019-07-17 10:30 liujx2019 阅读(307) 评论(0) 推荐(0)

2019年7月16日

设定程序随windows启动

摘要: Boot Trigger Example (C++) 阅读全文

posted @ 2019-07-16 14:41 liujx2019 阅读(504) 评论(0) 推荐(0)

2019年7月15日

Windows 切换 working directory

摘要: 用函数 _chdir() 例如用计划任务启动,pwd 是 system32 使用相对路径的地方会出错。 在 main 函数刚启动的时候转换一下 working directory 可解。 阅读全文

posted @ 2019-07-15 17:46 liujx2019 阅读(311) 评论(0) 推荐(0)

[C语言] 获得 pwd 的几种函数

摘要: _getcwd() GetCurrentDirectory GetModuleFileName main函数参数 argv[0] 阅读全文

posted @ 2019-07-15 15:11 liujx2019 阅读(596) 评论(0) 推荐(0)

Windows 计划任务 如果选择未登录就运行 则看不到GUI

摘要: You can specify that a task should run even if the account under which the task is scheduled to run is not logged on when the task is triggered. To do 阅读全文

posted @ 2019-07-15 14:02 liujx2019 阅读(683) 评论(0) 推荐(0)

Windows 查看进程启动时间

摘要: Run --> msinfo32 阅读全文

posted @ 2019-07-15 10:50 liujx2019 阅读(2147) 评论(0) 推荐(0)

上一页 1 ··· 24 25 26 27 28 29 30 31 32 ··· 41 下一页

导航