01 2021 档案

摘要:《将博客搬至CSDN》 阅读全文
posted @ 2021-01-26 11:13 y0um 阅读(42) 评论(0) 推荐(0)
摘要:pip install scapy import scapy'''介绍:Scapy 是一个强大的操纵报文的交互程序。它可以伪造或者解析多种协议的报文,还具有发送、捕获、匹配请求和响应这些报文以及更多的功能。Scapy 可以轻松地做到像扫描(scanning)、路由跟踪(tracerouting)、探 阅读全文
posted @ 2021-01-23 11:30 y0um 阅读(418) 评论(0) 推荐(0)
摘要:电子书:Windows API 参考大全 其他:通过vs2019创建桌面应用程序。创造GUI桌面程序。 通过微软官方文档学习。 一个基本示例如下。需要深入学习通过C++ 操作windows系统。编程语言学差不多有思路,知道某东西能干嘛就行了。 windowsAPI参考手册:http://www.of 阅读全文
posted @ 2021-01-17 15:28 y0um 阅读(869) 评论(0) 推荐(0)
摘要:None 阅读全文
posted @ 2021-01-17 09:46 y0um 阅读(47) 评论(0) 推荐(0)
摘要:#include <iostream> #include <string> #include <fstream> using namespace std; /* 模式标志 描述 ios::app 追加模式。所有写入都追加到文件末尾。 ios::ate 文件打开后定位到文件末尾。 ios::in 打开 阅读全文
posted @ 2021-01-15 12:11 y0um 阅读(110) 评论(0) 推荐(0)
摘要:基本概念 #include <iostream> #include <string> using namespace std; //抽象类,无法实例化对象。 class Animal { public: //3.通过加virtual关键字使其变虚函数。 virtual void talk() { c 阅读全文
posted @ 2021-01-14 11:43 y0um 阅读(95) 评论(0) 推荐(0)
摘要:基本语法 #include <iostream> #include <string> using namespace std; //语法:子类类名:public 父类类名 class Animal { public: Animal() ; void walk(string args) { cout 阅读全文
posted @ 2021-01-13 14:15 y0um 阅读(150) 评论(0) 推荐(0)
摘要:全局函数做友元 #if 0 #include <iostream> #include <string> using namespace std; //用friend关键字访问类中private的函数方法。 class Building { //2.在此用friend关键字声明! friend voi 阅读全文
posted @ 2021-01-13 10:41 y0um 阅读(371) 评论(0) 推荐(0)
摘要:类对象作为类成员 #include <iostream> #include <string> using namespace std; //c++类中的成员可以是另一个类的对象,称为对象成员。 class A { public: A() { cout << "A side \n"; }; ~A() 阅读全文
posted @ 2021-01-12 20:51 y0um 阅读(208) 评论(0) 推荐(0)
摘要:构造函数和析构函数 #include <iostream> #include <string> using namespace std; //创建一个类,C++编译器会给类添加至少三个函数 //默认构造函数;析构函数;拷贝构造函数,当自己创建这三个函数时就会抵消掉默认创建的函数了。 /* 构造函数: 阅读全文
posted @ 2021-01-10 17:31 y0um 阅读(130) 评论(0) 推荐(0)
摘要:类定义 #include <iostream> #include <string> using namespace std; #define PI 3.141592657 class Circle { //访问权限 //公共权限 public: //属性 int half_r; //行为 doubl 阅读全文
posted @ 2021-01-10 11:41 y0um 阅读(107) 评论(0) 推荐(0)
摘要:#include <iostream> using namespace std; //.引用的本质在C++内部实现的是一个指针常量,引用必须初始化;引用初始化后不能被改变(不能在引用别的东西);引用和原名使用同一内存空间,修改都是一起修改。 int main() { //引用:给变量起别名 //语法 阅读全文
posted @ 2021-01-09 14:11 y0um 阅读(73) 评论(0) 推荐(0)
摘要:内存分区 来源:https://blog.csdn.net/qq_33515733/article/details/107168302 图来源:https://blog.csdn.net/chenyijun/article/details/81938287 1、代码区 程序C/C++代码存放区,特点 阅读全文
posted @ 2021-01-08 11:56 y0um 阅读(253) 评论(0) 推荐(0)
摘要:/*C/C++ 数组允许定义可存储相同类型数据项的变量,但是结构是 C++ 中另一种用户自定义的可用的数据类型,它允许您存储不同类型的数据项。*/ #include <iostream> #include <string> using namespace std; //1.定义结构体 struct 阅读全文
posted @ 2021-01-06 10:44 y0um 阅读(100) 评论(0) 推荐(0)
摘要:转自:https://blog.csdn.net/weixin_39640298/article/details/84900326 原作者:YoungYangD 概述 C/C++语言之所以强大,以及其自由性,很大部分体现在其灵活的指针运用上。因此,说指针是C/C++语言的灵魂一点都不为过。 有好的一 阅读全文
posted @ 2021-01-05 16:17 y0um 阅读(182) 评论(0) 推荐(0)
摘要:#include <iostream> #include <string> #include "mult.h"//引用函数 using namespace std; /* 1.定义函数 return_type function_name( parameter list ) { body of the 阅读全文
posted @ 2021-01-05 11:33 y0um 阅读(79) 评论(0) 推荐(0)
摘要:#include <iostream> using namespace std; int main() { //1.定义数组 /*int args[5] = { 1,2,3}; //数组不够5个元素,将被0填充 for ( int i =0 ; i< 5 ; i++) { cout << args[ 阅读全文
posted @ 2021-01-05 10:01 y0um 阅读(88) 评论(0) 推荐(0)
摘要:深夜. 睁一只眼闭一只眼.用睁着的眼睛凝视着没有一点光亮的黑暗. 当感受到黑暗的存在时.闭上双眼. 感受到一个拥有边界的黑洞. 但边界时刻在变化着 . 之后. 身体也越来越远离边界.坠入深渊感. 阅读全文
posted @ 2021-01-02 00:18 y0um 阅读(110) 评论(0) 推荐(0)
摘要:#include <iostream> using namespace std; int main() { /*//while int num = rand() % 100 +1; cout << "Type num" << endl; int count = 1; cout << num << e 阅读全文
posted @ 2021-01-01 21:36 y0um 阅读(110) 评论(0) 推荐(0)
摘要:#include <iostream> using namespace std; const int score = 60; int main() { //if--else if --else int a; cout << "Type num" << endl; cin >> a; if (a>sc 阅读全文
posted @ 2021-01-01 21:25 y0um 阅读(183) 评论(0) 推荐(0)

新人优惠服务器