2017年7月24日

C++四种数据结构(vector,list,set,map)的增删查该demo

摘要: // DataStructureDemo.cpp : 定义控制台应用程序的入口点。// #include "stdafx.h"#include <assert.h>#include <time.h>#include <vector>#include <iostream> #include <stdi 阅读全文

posted @ 2017-07-24 09:19 阿兴的平凡世界 阅读(319) 评论(0) 推荐(0)

自实现智能指针Shared_ptr

摘要: // MySharedPtr.cpp : 定义控制台应用程序的入口点。// #include "stdafx.h"#include <windows.h>#include <future>#include <iostream> using namespace std; class SharedPtr 阅读全文

posted @ 2017-07-24 09:18 阿兴的平凡世界 阅读(79) 评论(0) 推荐(0)

c语言自实现带头结点的链表

摘要: // MyList.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include <stdlib.h>#include <stdio.h>typedef struct node{ int _data; struct node * _per; struct nod 阅读全文

posted @ 2017-07-24 09:17 阿兴的平凡世界 阅读(126) 评论(0) 推荐(0)

导航