上一页 1 2 3 4 5 6 7 8 ··· 11 下一页
摘要: 一、配置虚拟机的网络为桥接模式(为了连接板子) 1> VM菜单:编辑->虚拟网络编辑器,配置Vmnet0为桥接模式,选择有线网卡 2> 虚拟机,菜单:虚拟机->设置->硬件->网络适配器->自定义:特定虚拟网络->VMnet0桥接模式 3> ubuntu, 右上角,网络处,右键,Edit conne 阅读全文
posted @ 2022-06-09 09:55 西北小蚂蚁 阅读(192) 评论(0) 推荐(0)
摘要: Etcher版本太高有问题,下载个1.5.24版本的就行了 balenaEtcher-Setup-1.5.24-x64.exe 保留就行了 阅读全文
posted @ 2022-06-08 11:31 西北小蚂蚁 阅读(5217) 评论(0) 推荐(0)
摘要: 1、安装xinetd sudo install apt-get install xinetd 2、安装tftp和tftpd sudo apt-get install tftp tftpd 3、配置/etc/xinetd.d/tftp 文件 service tftp { socket_type = d 阅读全文
posted @ 2022-06-07 18:51 西北小蚂蚁 阅读(161) 评论(0) 推荐(0)
摘要: 如何看一个数是不是立即数 (26条消息) 立即数_wenfei11471的博客-CSDN博客_立即数 阅读全文
posted @ 2022-05-31 09:22 西北小蚂蚁 阅读(70) 评论(0) 推荐(0)
摘要: #include "tcp.h" #include "all.h" #include "db.h" #define N 100 int main(void) { int skt = tcp_server_init("0.0.0.0", 8888, 10); //创建一张文件描述符集合表 fd_set 阅读全文
posted @ 2022-05-26 23:44 西北小蚂蚁 阅读(35) 评论(0) 推荐(0)
摘要: queue.h #ifndef _QUEUE_H #define _QUEUE_H #include "all.h" #define LEN 3 //定义一个描述队列中每一个结点的结构体 typedef struct queuenode { Player *pArr; int MaxLen; int 阅读全文
posted @ 2022-05-25 14:40 西北小蚂蚁 阅读(35) 评论(0) 推荐(0)
摘要: tree.h #ifndef _TREE_H #define _TREE_H #include <stdio.h> #include <stdlib.h> #include <string.h> typedef int data_type; //创建一个树节点 typedef struct tree 阅读全文
posted @ 2022-05-25 14:36 西北小蚂蚁 阅读(30) 评论(0) 推荐(0)
摘要: link.h #ifndef _LINK_H #define _LINK_H #include<stdio.h> #include<string.h> #include<stdlib.h> #define N 10 typedef int data_type; //节点 typedef struct 阅读全文
posted @ 2022-05-25 14:32 西北小蚂蚁 阅读(32) 评论(0) 推荐(0)
摘要: 二进制数的极限和特殊值 假设只有1bit(8位) 1、最大值 注:2^7-1 = 128=1 = 127(因为要想表达正数最高位必须为0)(2^7表示有多少种组合包括全0所以要-1) 2、最小值 注:2^8 = 128(因为要想表达负数最高位必须为1)(其他全0为最大) 3、-1 注:首位为1其他全 阅读全文
posted @ 2022-05-23 14:20 西北小蚂蚁 阅读(1023) 评论(0) 推荐(0)
摘要: 每次都会更新 APP:pthread.c gcc -g $^ -o APP -lpthread R: ./APP cl: rm -rf ./APP 每次都需要删除后再次编译才能更新 APP: gcc -g pthread.c -o APP -lpthread R: ./APP cl: rm -rf 阅读全文
posted @ 2022-05-20 19:52 西北小蚂蚁 阅读(47) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 ··· 11 下一页