上一页 1 2 3 4 5 6 7 8 ··· 10 下一页
摘要: ARP(地址解析协议):根据IP地址获取物理地址的一个TCP/IP协议。主机发送消息时将包含目标IP地址的ARP请求广播到局域网络上的所有主机,并接受返回消息,以此确定目标的物理地址,收到返回消息后将该IP地址和物理地址存入本机ARP缓存中并保留一段时间,下次请求时直接查询ARP缓存以节约资源,地址 阅读全文
posted @ 2020-09-28 18:42 风影旋新月 阅读(124) 评论(0) 推荐(0) 编辑
摘要: 我执行了以下操作,然后就没有问题了 1. 读写打开文件gedit /etc/fstab 2. 在最后一行添加:(注意不需要添加自己加的文件名).host:/ /mnt/hgfs fuse.vmhgfs-fuse allow_other 0 4. mnt下新建文件夹 hgfs 3. 注意空格,保存,终 阅读全文
posted @ 2020-07-13 21:26 风影旋新月 阅读(1203) 评论(0) 推荐(0) 编辑
摘要: 1 G++调试相关编译选项 G++在编译时需要将调试信息加到可执行文件中,编译时添加选项-g,将调试信息加载到可执行文件中。如果没有添加-g选项,将看不到程序的函数名和变量名,全是运行时的内存地址,不利于调试。 2 gdb命令使用 (1) 启动gdb 调试可执行程序 gdb 可执行程序名 调试服务程 阅读全文
posted @ 2020-06-18 14:44 风影旋新月 阅读(724) 评论(0) 推荐(0) 编辑
摘要: 二维动态数组和静态数组的存储方式如下: 二维动态数组代码实现如下: #include <stdio.h> #define DEBUG int matrixMultiplication(int n, int **A, int **B, int s, int t){ int result = 0; fo 阅读全文
posted @ 2020-06-14 16:35 风影旋新月 阅读(1176) 评论(0) 推荐(0) 编辑
摘要: #include <iostream>#include <vector>#include <string> int main() { std::vector<int> data; std::string s; if (std::getline(std::cin, s)) { const char * 阅读全文
posted @ 2020-04-15 15:18 风影旋新月 阅读(1434) 评论(0) 推荐(0) 编辑
摘要: 1. Mingw + msys安装 所需文件地址:https://download.csdn.net/download/wa2ikf48/11988824 点击mingw-get-setup.exe安装 Basic Setup可以都选择上 All packages中确保mingw32-autocon 阅读全文
posted @ 2019-11-21 17:05 风影旋新月 阅读(475) 评论(0) 推荐(1) 编辑
摘要: 1. 新建一个空工程 2. 设置成x64调试模式 3. 点击项目属性 a. VC++ Directores: Include Directories: D:\Develop\opencv\build\include D:\Develop\opencv\build\include\opencv2 Li 阅读全文
posted @ 2019-10-10 20:32 风影旋新月 阅读(144) 评论(0) 推荐(0) 编辑
摘要: 1. 下载TextLive2019 https://mirrors.tuna.tsinghua.edu.cn/CTAN/systems/texlive/Images/texlive2019.iso 点击install-tl-advanced.bat安装 注意:如果你的电脑安装有mingw,并且设置了 阅读全文
posted @ 2019-09-11 20:34 风影旋新月 阅读(1529) 评论(0) 推荐(0) 编辑
摘要: 1. 数组中无重复元素 Suppose an array sorted in ascending order is rotated at some pivot unknown to you beforehand. (i.e., [0,1,2,4,5,6,7] might become [4,5,6, 阅读全文
posted @ 2019-07-22 14:05 风影旋新月 阅读(219) 评论(0) 推荐(0) 编辑
摘要: 1. KMP算法用途 KMP算法用于解决主字符串和模式字符串匹配的问题。如果完成匹配,返回模式字符串在主字符串匹配的初始索引。如果不匹配,返回-1。 2. PMT(Partial Match Table):部分匹配表(模式字符串) 部分匹配表是KMP算法的核心,定义:前缀集合和后缀集合交集中最长元素 阅读全文
posted @ 2019-07-21 10:41 风影旋新月 阅读(341) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 10 下一页