上一页 1 2 3 4 5 6 ··· 14 下一页
摘要: 这个也是和Java不同的地方,作用是为了防止类的名字冲突 #include <iostream> namespace myspace{ class A{ public: std::string head; private: std::string body; }; } namespace myspa 阅读全文
posted @ 2023-04-16 14:15 Z_Chan 阅读(10) 评论(0) 推荐(0) 编辑
摘要: 这个是用来include的防止多次重复include #ifndef A_H #define A_H int test(){ } #endif 阅读全文
posted @ 2023-04-16 14:04 Z_Chan 阅读(6) 评论(0) 推荐(0) 编辑
摘要: #include <iostream> class A{ public: std::string head; private: std::string body; }; int main() { A a; a.head="888"; a.body="999"; return 0; } 报错结果 ma 阅读全文
posted @ 2023-04-16 13:37 Z_Chan 阅读(7) 评论(0) 推荐(0) 编辑
摘要: #include <iostream> class A{ public: std::string head; void hello(std::string str){ std::cout<<str<<head<<std::endl; } }; int main() { A a; std::strin 阅读全文
posted @ 2023-04-16 13:29 Z_Chan 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 环境需求: You will need Android NDK r15 or higher to build Ceres solver. eigen3我当时编译的时候自己先交叉编译了eigen3,这个东西好像只有头文件,好像不存在移植,都是通用的 编译 cmake \ -DCMAKE_TOOLCHA 阅读全文
posted @ 2023-04-11 13:44 Z_Chan 阅读(189) 评论(0) 推荐(0) 编辑
摘要: 需要的工具:U盘 1. 打开ubuntu启动盘制作工具,下载ubuntu镜像,制作启动器 2.u盘启动,进入try ubuntu 3.终端打开gparted 分割出一块合适大小的nfts区域用来装windows,如果直接用ubuntu的话由于本身的磁盘就在使用所以不能操作,只能在类似pe的系统里面操 阅读全文
posted @ 2023-04-11 13:23 Z_Chan 阅读(1473) 评论(0) 推荐(0) 编辑
摘要: 打开wireshark发现很多MDNS,数据内容是xxx的手机,比如鸡儿的手机 答案: MDNS是指多播域名解析协议(Multicast Domain Name System),也称为零配置网络。它是一种用于在局域网上自动发现网络设备和服务的协议,使得设备可以在不需要中央服务器注册的情况下,通过其名 阅读全文
posted @ 2023-04-06 16:34 Z_Chan 阅读(2375) 评论(0) 推荐(0) 编辑
摘要: 下载 源码 wget https://gitlab.com/wireshark/wireshark/-/archive/v3.6.12/wireshark-v3.6.12.zip 你可以选择想要的版本,一般低一个最新版本比较好,资料多 直接编译 924 ls 925 unzip wireshark- 阅读全文
posted @ 2023-04-06 16:25 Z_Chan 阅读(67) 评论(0) 推荐(0) 编辑
摘要: #include <iostream> using namespace std; // 定义一个人的类 class Person { private: int age; // 年龄 float height; // 身高 public: // 构造函数,初始化年龄和身高 Person(int age 阅读全文
posted @ 2023-04-06 15:32 Z_Chan 阅读(24) 评论(0) 推荐(0) 编辑
摘要: 下载源码 https://opencv.org/releases/ 下载3.x.x的版本网上的代码都用的3你下4会到处报错 安装依赖 sudo apt-get install build-essential sudo apt-get install cmake git libgtk2.0-dev p 阅读全文
posted @ 2023-04-05 20:16 Z_Chan 阅读(10) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 14 下一页