
linux 系统
文章平均质量分 61
梦蝶__
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
4. linux挂载windows的文件夹
1. 设置需要共享的windows下的共享目录2. 在linux下执行命令 sudo mount -t cifs -o username=Administrator,password=11 //192.168.1.45/test ./test注释: username=Administrator,password=11 //192.168.1.45/test ...原创 2017-09-19 16:26:13 · 529 阅读 · 0 评论 -
ubuntu intstall qt error when 'make'
Error while building/deploying project animatedtiles (kit: Desktop Qt 5.10.1 GCC 64bit)When executing step "qmake"1. sudo apt-get install build-essential然后尝试"run",又出现"cannot find -lGL"新...原创 2018-02-28 12:42:07 · 374 阅读 · 0 评论 -
ubuntu配置openGL
1.、安装编译器与基本的函式库 $ sudo apt-get install build-essential2.、安装OpenGLLibrary $ sudo apt-get install libgl1-mesa-dev3 、 安装OpenGLUtilities $ sudo apt-get install libglu1-mesa-dev4、安装gl...原创 2018-07-24 18:22:16 · 700 阅读 · 0 评论 -
1. linux C -- 进程锁
1. 创建通信 #include <stdio.h>#include <sys/types.h>#include <sys/stat.h>#include <fcntl.h>#include <unistd.h>#include <sys/ipc.h>#include <sys/sem.h>原创 2017-09-18 16:47:03 · 1959 阅读 · 0 评论 -
5. linux C -- 共享内存
1. 初始化#define DATNAME_SID "sid.dat"int *pG_sid;void InitSharedData(){ int t_sid; int fd; memset((unsigned char*)&t_sid,0x00,sizeof(int)); fd = open(DATNAME_SID,O_CREAT|O_R...原创 2017-09-19 17:16:17 · 430 阅读 · 0 评论 -
3. linux C -- 通用循环队列
头文件voidQueue.h #ifndef _VOID_QUEUE_H_#define _VOID_QUEUE_H_typedef enum{ FALSE = 0, TRUE}BOOL;typedef struct myQueue{ void *data; // 数据域 int size; // 数据域的大小 int Fr...原创 2017-09-19 14:14:40 · 1108 阅读 · 0 评论 -
2. linux C -- 通用双向链表
1. 头文件 list.h 代码(定义链表结构体及一些需要实现的函数) #ifndef _LIST_H_#define _LIST_H_#include <stdio.h>#include <stdlib.h>#include <string.h>#define ERRP(con, func, ret) do{ \ if...原创 2017-09-18 17:04:35 · 730 阅读 · 0 评论