会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
www1112
博客园
首页
新随笔
联系
订阅
管理
2020年12月14日
QT 调用外部dll库的方式 -- 隐式调用
摘要: 1.用vs (我使用的是vs2013)编写一个dll库 calculator.c #include "calculator.h" int add(int x, int y) { return x + y; } calculator.h #pragma once #include <stdio.h>
阅读全文
posted @ 2020-12-14 18:52 fc724
阅读(1357)
评论(0)
推荐(0)
2020年7月9日
异步IO写文件的方法
摘要: 函数解析:io_setup函数: 此系统调用用于创建一个同步io环境,可以同时处理maxevents个操作,ctxp必须初始化为0,io_setup会自动分配填充空间,所以,调用后一定要掉用io_destroy进行释放掉。返回值:成功为0,失败为以下值EAGAIN:maxevents已经超过个系统用
阅读全文
posted @ 2020-07-09 11:36 fc724
阅读(908)
评论(1)
推荐(0)
2020年6月4日
window下 对特定文件夹下文件操作
摘要: #include "stdafx.h" #include <direct.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <io.h> #define file_dir "E:\\ceshi\\data_t
阅读全文
posted @ 2020-06-04 11:41 fc724
阅读(180)
评论(0)
推荐(0)
2020年5月27日
QT 线程调用的方法
摘要: //main 函数内容#include "widget.h" #include <QApplication> int main(int argc, char *argv[]) { QApplication a(argc, argv); Widget w; w.show(); return a.exe
阅读全文
posted @ 2020-05-27 15:12 fc724
阅读(509)
评论(0)
推荐(0)
2019年3月23日
2019 3.23
摘要: 1 #include<stdio.h> 2 #include<unistd.h> 3 #include<signal.h> 4 #include<stdlib.h> 5 #include<string.h> 6 #include<sys/time.h> 7 8 #define MAX_LONG 20
阅读全文
posted @ 2019-03-23 18:09 fc724
阅读(179)
评论(0)
推荐(0)
2019年3月15日
2019 3 15
摘要: /* 1.尝试实现ls命令的功能 加选项-l -a -i -h */ #include<stdio.h> #include<unistd.h> #include<sys/types.h> #include<sys/stat.h> #include<time.h> #include<pwd.h> #i
阅读全文
posted @ 2019-03-15 13:09 fc724
阅读(154)
评论(0)
推荐(0)
2019年1月21日
2019 1 21
摘要: /*strlen strcpy strcmp strcat 查看功能是什么,并自定义函数,与之功能一至*/ #include<stdio.h> int strlen_long(char * ch); void strcpy_cpy(char * c,char * ch); int strcmp_co
阅读全文
posted @ 2019-01-21 20:12 fc724
阅读(129)
评论(0)
推荐(0)
公告