-
oop实验一
实验一: task1: 源代码: 1 #include <iostream> 2 #include <string> 3 #include <vector> 4 #include <algorithm> 5 6 template<typename T> 7 void output(const T & -
实验1 现代C++编程初体验
1. 实验任务1 验证性实验。 在C++编码环境中,输入、运行并观察以下代码,结合运行结果和注释,体验使用C++标准库进行编程的便捷性。从面 向对象编程范式的角度,体会封装与基于接口编程的意义。 #include <iostream> #include <string> #include <vect -
博客地址
https://www.cnblogs.com/gentlelight -
实验一
task1 // 现代C++标准库、算法库体验 // 本例用到以下内容: // 1. 字符串string, 动态数组容器类vector、迭代器 // 2. 算法库:反转元素次序、旋转元素 // 3. 函数模板、const引用作为形参 #include <iostream> #include <str -
实验一
实验一: 源代码: 点击查看代码 #include<iostream> #include<string> #include<vector> #include<algorithm> template<typename T> void output(const T &c); void test1(); -
实验一 现代C++编程初体验
task1: 源代码: #include<iostream> #include<string> #include<vector> #include<algorithm> template<typename T> void output(const T &c); void test1(); void -
20232402 2025-2026-1 《网络与系统攻防技术》实验一实验报告
20232402 2025-2026-1 《网络与系统攻防技术》实验一实验报告 1.实验内容 本周学习内容为缓冲区溢出漏洞简介和缓冲区溢出基础知识。 1.1 缓冲区溢出漏洞简介 缓冲区是连续的一段存储空间。 缓冲区溢出是指向特定缓冲区填充数据时,超出了缓冲区容量,导致外溢数据覆盖了相邻内存空间的合法 -
高级语言程序设计第一次作业
班级链接:https://edu.cnblogs.com/campus/fzu/gjyycx 作业要求链接:https://edu.cnblogs.com/campus/fzu/gjyycx/homework/13558 学号:102500412 姓名:曾锦城 安装完成dev 2.1 2.2 2.3 -
实验1 现代C++编程初体验
#实验任务1 ##代码 ```c++ 1 #include<iostream> 2 #include<vector> 3 #include<string> 4 #include<algorithm>//提供各类通用算法,涵盖排序、查找、修改、比较等操作 5 6 template<typename T -
# 20232429 2025-2026-1 《网络与系统攻防技术》实验一实验报告
1.实验内容 手工修改可执行文件,改变程序执行流程,直接跳转到getShell函数。 利用foo函数的Bof漏洞,构造一个攻击输入字符串,覆盖返回地址,触发getShell函数。 注入一个自己制作的shellcode并运行这段shellcode。 掌握NOP, JNE, JE, JMP, CMP汇编 -
本人于2025上半学期编码需要遵守的规范(参考腾讯内部编码规范)以及读数学之美————信息的度量与熵有感
编码的规范可以使代码更加具有易维护性以及编码安全性等等 程序的板式 缩进使用 4 个空格,禁止混用 Tab 键。 行宽限制 80 字符,长表达式在低优先级操作符处换行,操作符置于新行首。 大括号{}独占一行并与代码对齐,即使只有一行代码(如if、for)也必须包含。 注释 文件注释:包含版权声明、功 -
高级语言程序设计第一次作业
这个作业属于的课程:https://edu.cnblogs.com/campus/fzu/gjyycx 这个作业要求:https://edu.cnblogs.com/campus/fzu/giyycx/homework/13558 学号:102500304 姓名:黄燕婷 1.安装C程序的编评环境 2 -
实验1
#include<iostream> #include<string> #include<vector> #include<algorithm> template<typename T> void output(const T& c); void test1(); void test2(); voi -
福州大学2025级软件工程 2025.10.14作业
这个作业属于哪个课程:https://edu.cnblogs.com/campus/fzu/gjyycx 这个作业要求在哪里: https://edu.cnblogs.com/campus/fzu/gjyycx/homework/13558 学号:102500428 姓名:杜翰墨 图一 代码 图二 -
第二次实验作业
1 #include<stdio.h> 2 #include<stdlib.h> 3 #include<time.h> 4 5 #define N 5 6 #define N1 80 7 #define N2 35 8 9 int main(){ 10 int cnt; 11 int random_ -
实验2
实验任务1 1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <time.h> 4 #define N 5 5 #define N1 80 6 #define N2 35 7 int main() { 8 int cnt; 9 int ran -
20232315 2025-2026-1 《网络与系统攻防技术》实验一实验报告
一、实验目标 对一个名为pwn1的linux可执行文件: 手工修改可执行文件,改变程序执行流程,直接跳转到getShell函数。 利用foo函数的Bof漏洞,构造一个攻击输入字符串,覆盖返回地址,触发getShell函数。 注入一个自己制作的shellcode并运行这段shellcode。 二、实验 -
实验一
TASK1 #include <stdio.h>int main(){ printf(" o \n"); printf("<H>\n"); printf("I I\n"); return 0;} TASK1_1 #include <stdio.h>int main(){ printf(" o \n" -
实验1
任务1 include <stdio.h> int main() { printf(" O \n"); printf("\n"); printf("I I\n"); return 0; } 任务2 include <stdio.h> int main() { double a, b, c; scan -
实验1_C语言输入输出和简单程序应用编程
实验任务1 (1) 1 #include<stdio.h> 2 int main() 3 {printf(" O \n"); 4 printf("<H>\n"); 5 printf("I I\n"); 6 printf(" O \n"); 7 printf("<H>\n"); 8 printf("I