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

2019年7月23日

Cannot find libcrypto in Ubuntu

摘要: https://stackoverflow.com/questions/13811889/cannot-find-libcrypto-in-ubuntu 阅读全文

posted @ 2019-07-23 09:45 liujx2019 阅读(194) 评论(0) 推荐(0) 编辑

2019年7月18日

Ubuntu 修改 hosts 文件

摘要: sudo vi /etc/hosts sudo /etc/init.d/networking restart 阅读全文

posted @ 2019-07-18 17:08 liujx2019 阅读(954) 评论(0) 推荐(0) 编辑

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 阅读(166) 评论(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 阅读(4972) 评论(0) 推荐(0) 编辑

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

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

posted @ 2019-07-18 09:45 liujx2019 阅读(253) 评论(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 阅读(557) 评论(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 阅读(302) 评论(0) 推荐(0) 编辑

2019年7月16日

设定程序随windows启动

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

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

2019年7月15日

Windows 切换 working directory

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

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

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

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

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

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

导航