yyyyyyyyyyyyyyyyyyyy

博客园 首页 新随笔 联系 订阅 管理
上一页 1 ··· 255 256 257 258 259 260 261 262 263 ··· 367 下一页

2015年9月4日 #

摘要: linux内核编译环境配置 如果不是编译内核,只需要安装与内核相匹配的kernel-devel开发包即可。即是/lib/modules/`uname -r`/build -> /usr/src/kernels/`uname -r`指定。在yum中,如果直接运行 yum install kernel-... 阅读全文
posted @ 2015-09-04 12:35 xxxxxxxx1x2xxxxxxx 阅读(310) 评论(0) 推荐(0)

摘要: gcc -D 传值给代码,默认值为1-D 参数可以给代码中的宏打开一扇门。简单的代码#include #ifdef WHO#define NAME "joel"#elif WHO_NO#define NAME "no name"#else#error no mane#endifint main()... 阅读全文
posted @ 2015-09-04 12:35 xxxxxxxx1x2xxxxxxx 阅读(146) 评论(0) 推荐(0)

摘要: error: /usr/include/stdio.h: Permission denied 的一种情况分析代码:#include int main(){printf ("hello long size %d\n",sizeof(long));}很简单,测试是否能够编译通过对比在root的用户下编译... 阅读全文
posted @ 2015-09-04 12:35 xxxxxxxx1x2xxxxxxx 阅读(203) 评论(0) 推荐(0)

摘要: 几款屏幕录制软件,最强大是 ActivePresenter,免费版, 足以应对我们日常需求。列表如下支持系统:W-Windows,L-Linux,M-Mac软件 格式 W L M 免费 说明 官方地址 Wink Exe swf Y Y N Y 屏幕截图,处理,导出 h... 阅读全文
posted @ 2015-09-04 12:35 xxxxxxxx1x2xxxxxxx 阅读(464) 评论(0) 推荐(0)

摘要: expect 参数处理之一expect是很强悍的脚本,网上资源虽然很经典,但很少,我把自己的测试脚本贴之,仅作参考 #!/usr/bin/expect -f proc help {} { puts {usage: [-p ] [cmd] } } ... 阅读全文
posted @ 2015-09-04 12:35 xxxxxxxx1x2xxxxxxx 阅读(316) 评论(0) 推荐(0)

摘要: 三维图形的这是opengl的强项,大型3D游戏都会把它作为首选。图像处理,是opencv的锁定的目标,大多都是C的api,也有少部分是C++的,工业图像表现,图像识别,都会考虑opencv的。webgl,这是3维向web延伸的方案,它可以直接调用支持opengl的接口,硬件加速或者软件模拟,很强大, 阅读全文
posted @ 2015-09-04 12:35 xxxxxxxx1x2xxxxxxx 阅读(650) 评论(0) 推荐(0)

摘要: [面试技巧]16个经典面试问题回答思路 面试过程中,面试官会向应聘者发问,而应聘者的回答将成为面试官考虑是否接受他的重要依据。对应聘者而言,了解这些问题背后的“猫腻”至关重要。本文对 面试中经常出现的一些典型问题进行了整理,并给出相应的回答思路和参考答案。读者无需过分关注分析的细节,关键是要从这... 阅读全文
posted @ 2015-09-04 12:34 xxxxxxxx1x2xxxxxxx 阅读(420) 评论(0) 推荐(0)

摘要: C 文件直接包含有一部分代码很大,在很多函数中重复,可以直接写在另外的一个文件中,引用时直接包含。co.cpp两个函数都 包含c1.cxx。 点击(此处)折叠或打开////// co.cpp#include #include void f1(int i){int a;#i... 阅读全文
posted @ 2015-09-04 12:34 xxxxxxxx1x2xxxxxxx 阅读(200) 评论(0) 推荐(0)

摘要: c 有意思的数组初始化#include int main(){int i = 0;char a[1024];char a0[10] = {};char a1[10] = {1};char a2[10] = {1,};char a3[10] = {1,1};for(i=0; i< 1024; i++... 阅读全文
posted @ 2015-09-04 12:34 xxxxxxxx1x2xxxxxxx 阅读(128) 评论(0) 推荐(0)

摘要: 内核编程实例,多文件的Makefile经典的hello word测试////#cathello.c#include#include#includestaticint__init hl_init(void){printk("Hello,World! init\n");return 0;}static ... 阅读全文
posted @ 2015-09-04 12:34 xxxxxxxx1x2xxxxxxx 阅读(148) 评论(0) 推荐(0)

上一页 1 ··· 255 256 257 258 259 260 261 262 263 ··· 367 下一页