![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
书籍学习
Phoenix0z
这个作者很懒,什么都没留下…
展开
-
《数据结构(c++语言版)》学习笔记 第一章 绪论
笔者是刚刚转专业到计算机科学与技术专业的准大二学生,这个暑假在着手自学一些书籍,写该博客主要为了梳理知识,加深记忆。第一章 绪论本章将介绍计算机相关的基本概念,包括算法构成的基本要素、算法效率的衡量尺度、计算复杂度的分析方法与界定技巧、算法设计的基本框架与经典模式。1.1计算机与算法介绍古埃及人的绳索、欧几里得尺柜和起泡排序,以此来分析算法的种种特性。代码1.1整数数组的起泡...原创 2018-08-12 14:43:52 · 585 阅读 · 0 评论 -
《C++ Primer Plus》学习笔记 第6章 分支语句和逻辑运算符
在对“C ++ Primer Plus”的学习过程中尽可能详细地整理一些知识点,方便自己的学习。目前阶段的c ++内容与c语言还没有太明显的区别,整理主要是为了强化自己的编程能力,在后面学习类,对象等C ++特色内容的时候会更加细致一些。 第六章分支语句和逻辑运算符 6.3字符函数库cctypecctype中的字符函数 函数名称 返回值 字符isalnum...原创 2018-08-15 16:33:44 · 338 阅读 · 0 评论 -
《C++ Primer Plus》学习笔记 第7章 函数——C++编程的基础(编辑中)
形参:用于接收传递值得变量实参:传递给函数的值在循环中采用cin >> ch来读取字符而不是cin.get(),因为后者可读取所有输入的字符包括空格与换行符,而前者跳过空格与换行符。交替进行乘除运算可防止中间值结果超过最大浮点数。long double probability(unsigned numbers, unsigned picks) { long double...原创 2018-08-19 19:23:39 · 230 阅读 · 0 评论 -
55
#include<iostream>using namespace std;#define ok 0;#define error -1;class SeqList {private: int *list; int maxsize; int size;public: SeqList(); ~SeqList(); void input(); void outp...原创 2018-10-14 01:00:24 · 187 阅读 · 0 评论 -
C++学习之链表
1.1创建与遍历链表#include<iostream>using namespace std;struct Student { long number; float score; Student*next;};Student * head;//定义头结点Student*Create() { Student*pS; Student*pEnd; pS =...原创 2018-09-23 10:53:21 · 229 阅读 · 0 评论 -
最小树
#include<iostream>#include<string>using namespace std;const int Max=20;const int Mlen=9999;struct zp{int k;int value;};struct ma{ int h1; int h2; int v;};zp mar[...原创 2018-11-13 02:10:40 · 564 阅读 · 0 评论 -
哈希表
1。#include <iostream>using namespace std;struct Hash{ int k; struct Hash*next;};int main(){ int n; cin>>n; int q=11; Hash**group=new Hash*[q]; for(in...原创 2018-12-04 01:22:37 · 208 阅读 · 0 评论