![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C++学习之路(MOOC)
Sky灬云岚
纷纷万事,直道而行,直道做人
展开
-
【转载】堆、栈 的理解
堆: 1.堆包含一个链表来维护已用和空闲的内存块。在堆上新分配(用 new 或者 malloc)内存是从空闲的内存块中找到一些满足要求的合适块。这个操作会更新堆转载 2016-10-22 15:56:17 · 407 阅读 · 0 评论 -
C/C++ 图的基本操作
数据结构—图的基本操作:添加节点、为有向图/无向图添加邻接矩阵、打印邻接矩阵、深度优先遍历、广度优先遍历等原创 2016-10-23 11:09:06 · 6753 阅读 · 0 评论 -
C/C++ 模拟通讯录
链表实现的简单模拟通讯录功能 线性表(链表)--通讯录 姓名:电话原创 2016-10-23 11:52:02 · 1094 阅读 · 0 评论 -
C++小知识点
记录c++学习中的小知识点. 1.输入输出#include <iostream>using namespace std;/************************//* 这是第一个c++程序*//************************/int main(){ cout<<"hello world"<< " yunlan"; cout<<endl原创 2016-10-16 17:39:28 · 303 阅读 · 0 评论 -
c++ class 初体验
Visual Studio 20121. demo.cpp:------------------------------------#include <iostream>#include <stdlib.h>#include <string>#include "Student.h"using namespace std;/*****************************//原创 2016-10-16 17:50:40 · 428 阅读 · 0 评论 -
C++中class类 的 构造函数、析构函数
说明:demo.cpp:main.cpp所在之处Line.h:线段类的.h文件Line.cpp:线段类的.cpp文件Coordinate.h:坐标类的.h文件Coordinate.cpp:坐标类的.cpp文件之后的笔记都是这个模式,就不再赘述。在demo.cpp中有代码说明的注释。1. demo.cpp:-----------------------------------#incl原创 2016-10-16 17:05:24 · 5904 阅读 · 0 评论