摘要: 1.原理 地址连续存储的线性表。 阅读全文
posted @ 2022-10-11 20:57 石绿 阅读(11) 评论(0) 推荐(0)
摘要: C语言编写。 功能:增删改查。 阅读全文
posted @ 2022-10-11 20:56 石绿 阅读(668) 评论(0) 推荐(0)
摘要: 背景 做点菜系统项目,有服务机和桌台机两个程序。当桌台机执行开始点菜、下单、结账的操作时会给服务机发送服务记录信息。发送信息使用TCP通信。 代码 .cpp: #include "serverw.h" #include "ui_serverw.h" #include "QDebug" ServerW 阅读全文
posted @ 2022-08-06 10:59 石绿 阅读(529) 评论(0) 推荐(0)
摘要: 平台 vs,qt,vc++,vim+g++,(code学习用) 文件后缀 .cpp , .h , .cxx , .cc , .hpp 使用非标准C函数 第一种情况:源代码还在 第二种情况:没有源代码 阅读全文
posted @ 2022-07-07 10:58 石绿 阅读(28) 评论(0) 推荐(0)
摘要: void *routine1(void *arg) { printf("%d",__LINE__); //初始化播放链表 //头节点 P_Node head = NewNode(NULL); printf("%d",__LINE__); int img_num = DepthTheCatalog( 阅读全文
posted @ 2022-06-21 15:57 石绿 阅读(137) 评论(0) 推荐(0)
摘要: 情况: 用开发板写个小项目,创建线程的时候出现warning: implicit declaration of function ‘pthread_creat’,虽然是warning但make不出来。 解决: 1.函数名pthread_create 2.添加头文件#include <pthread. 阅读全文
posted @ 2022-06-21 14:50 石绿 阅读(2477) 评论(0) 推荐(1)