编程学习
CentalRain
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Leetcode:single-number
Given an array of integers, every element appears twice except for one. Find that single one. Note: Your algorithm should have a linear runtime complexity. Could you implement it without usin原创 2017-10-17 09:49:18 · 235 阅读 · 0 评论 -
对C++类的对象和类的指针的理解
如下程序: #include #include using namespace std; class Student { public: static int number; string name; public: Student() { } void set(string str) { name = str;转载 2017-12-20 09:43:47 · 220 阅读 · 0 评论 -
Hash表
Hash表 Hash表也称散列表,也有直接译作哈希表,Hash表是一种特殊的数据结构,它同数组、链表以及二叉排序树等相比较有很明显的区别,它能够快速定位到想要查找的记录,而不是与表中存在的记录的关键字进行比较来进行查找。这个源于Hash表设计的特殊性,它采用了函数映射的思想将记录的存储位置与记录的关键字关联起来,从而能够很快速地进行查找。 1.Hash表的设计思想 对于一转载 2017-12-20 11:04:51 · 196 阅读 · 0 评论 -
error MSB6006: “cmd.exe”已退出,代码为 3。
这两天调程序遇到一个奇怪的问题。 C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(171,5): error MSB6006 cmd.exe 已退出,代码为3。 百思不得解,看过了很多方法,都不奏效,无意中看到Stackoverflow的一个回答: 于是我编辑了.vcpro原创 2017-12-28 15:32:56 · 24827 阅读 · 0 评论
分享