![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
c语言
文章平均质量分 71
2013_IT
这个作者很懒,什么都没留下…
展开
-
c 语言中的位域
假设你的c应用程序中在一个结构体status包含一些 true/false变量例如:翻译 2014-04-06 11:55:35 · 698 阅读 · 0 评论 -
函数指针
#include typedef int func(int a , int b); struct test_struct { int x; int y; func * pfunc; }; int add(int a , int b) { return a + b; } int sub(int a, int b) { return原创 2014-05-16 13:57:39 · 412 阅读 · 0 评论 -
linux 弹出 CDROM
#include #include #include #include #include int main() { int fd = open("/dev/cdrom",O_RDONLY | O_NONBLOCK); if(fd printf(" open error\n"); return -1; }原创 2014-05-15 09:15:46 · 1042 阅读 · 0 评论