
C/C++
文章平均质量分 64
wyzhang421
北京邮电大学本科毕业||香港中文大学硕士在读。
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
iostream和iostream.h的区别 [转]
C++的标准类库被修订了两次,有两个标准 C92和C99,这两个库现在都在并行使用,用 .h 包含的是c92 ,不带 .h 的是c99的头文件,对于普通用户来说这两者没有什么区别,区别是在内部函数的具体实现上。旧的C++头文件是官方明确反对使用的,但旧的C头文件则没有(以保持对C的兼容性)。据说从 Visual C++ .NET 2003 开始,移除了旧的 iostream 库。其实编译器制造转载 2012-08-29 16:02:49 · 648 阅读 · 0 评论 -
[LeetCode]Delete Node in a Linked List
题目描述:Write a function to delete a node (except the tail) in a singly linked list, given only access to that node.Supposed the linked list is 1 -> 2 -> 3 -> 4 and you are given the third node w原创 2015-08-09 00:05:16 · 329 阅读 · 0 评论 -
C++ Primer Week1
The notes of chapter 1, chapter 2 and chapter 3 of C++ Primer 5th edition .原创 2015-10-25 11:11:34 · 1619 阅读 · 0 评论 -
C++ Primer Week2
The notes of chapter 4, chapter 5 and chapter 6 of C++ Primer 5th edition原创 2015-11-01 20:04:09 · 1482 阅读 · 0 评论 -
函数指针简介
《C与指针》的读书笔记。简要介绍了函数指针,举了两个比较详细的例子来说明函数指针的功能与作用。原创 2016-02-02 11:26:21 · 451 阅读 · 0 评论 -
C语言指针要点
C语言指针要点。初始化与否,指针与引用的区别。原创 2016-01-24 18:46:52 · 1034 阅读 · 0 评论 -
quicksort my impletation
#include <cstdio>#include <iostream>#include <algorithm> //using random_shuffle#include <vector>using namespace std;int partition(vector<int>& vec, int l, int r){ int povit = vec[l]; auto j原创 2016-04-04 15:19:25 · 463 阅读 · 0 评论