![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
c++
ACM__dongsheng
在校大学生
展开
-
通信实验 动态分区存储管理方式的主存分配回收 查错
此次查错结论:对于单链表节点删除要考虑 :该节点是 表头,表尾,还是表间的节点 。对于一个指针不对其申请内存,该指针是空的。对空指针去进行操作会导致程序崩溃的。#include<iostream>#include<algorithm>#include <iomanip>#include<cstdio>using namespace std;#define ERR_NOFREEAREA 1原创 2016-11-05 14:00:38 · 803 阅读 · 0 评论 -
opeartor 关键字重载 实验
opeator 用于重载运算符,运算符相当一个函数名。 如果是内联函数第一个参数可以不显示。 注意后置 的参数中 有一个 int ,值返回。前置 ,引用返回。#include<iostream>#include<cmath>using namespace std;class RMB{ public: unsigned int jf,yu原创 2016-11-08 22:23:06 · 940 阅读 · 0 评论 -
2408 c++ 小游戏
编译环境 : arm-linux-gcc #include <sys/mman.h>#include <stdio.h>#include <stdlib.h>#include <errno.h>#include <string.h>#include <sys/types.h>#include <sys/stat.h>#include <fcntl.h>#include <unistd原创 2016-12-11 22:47:43 · 2893 阅读 · 0 评论