![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
为知笔记整理到CSDN.工作后会在CSDN上继续写
文章平均质量分 75
素流
这世界上哪有无缘无故的收获啊
展开
-
c++软件研发校招参考
以上是我当时校招写给身边同学的东西,都是平常我的笔记,准备的比较匆忙,囫囵吞枣似的放进来的,我主要是懒得整理了,见谅。不过大家一定要在自己看的基础上整理成自己的笔记,自己的知识。今天放到博客里,希望可以帮助以后校招的同学~ 2014.11.08 素流 楼主从今天起就离校招远去了~正是准备成为一个工作的人~ 这是我在博客园的第一篇文章~转载希望注明出处,http://www.cn原创 2014-11-24 11:00:32 · 694 阅读 · 0 评论 -
二叉树
BTreeNode.h #include #include #include #include using namespace std; #define left 1 #define right 0 typedef int type; typedef struct _tag_TreeNode TreeNode; struct _tag_TreeNode { type data; Tr原创 2014-11-24 11:32:46 · 440 阅读 · 0 评论 -
用栈实现计算器
#include "stdafx.h" #include #include "Calculator.h" //构造函数 Calculator::Calculator() { m = new char[100]; } //析构 Calculator::~Calculator() { } //判断是不是数字 bool Calculator::isnum(char a) { if ((a >= '原创 2014-11-24 11:29:21 · 1186 阅读 · 0 评论 -
非递归的 MergeSort
// MergeSort--------迭代法.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include #include #include using namespace std; int flag = 0; void Merge(int* low,int* mid,int*& h,int*high,int* max) { while ((原创 2014-11-24 11:27:35 · 548 阅读 · 0 评论 -
堆排序
// 堆排序.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include #include #include #include #include using namespace std; void init(int& i) { i = ran原创 2014-11-24 11:17:57 · 396 阅读 · 0 评论 -
矩阵的翻转
// 翻转矩阵.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include #include #include using namespace std; #define M 8 int randgener() { return (rand() % 100); } void print(int** a) { for (int i = 0; i <原创 2014-11-24 11:13:12 · 539 阅读 · 0 评论