1、c和c++如何把一个整数转化为string

STL MAP

https://www.cnblogs.com/Braveliu/p/6427050.html



首先来看一看int、long、long long的取值范围

int                  所占字节数为:4                   表示范围为:-2147483648~2147483647

short int          所占字节数为:2            表示范围为:-32768~+32767

long       所占字节数为:4        表示范围为:-2147483648~2147483647

long long     所占字节数为:8       表示范围为:9223372036854775808~+9223372036854775807

专栏

https://blog.csdn.net/hero_myself/article/details/52313617

堆排序 最大堆 最小堆相关
1、STL中heap相关函数的用法:make_heap,push_heap,pop_heap...

https://blog.csdn.net/fuyufjh/article/details/47144869

2、priority_queue

https://blog.csdn.net/pzhu_cg_csdn/article/details/79166858

3、STL优先级队列(priority_queue)和集合(set)的使用

https://blog.csdn.net/cstopcoder/article/details/18949583

4、优先队列与set区别

https://blog.csdn.net/chenchong_219/article/details/42058919

5、STL中sort、priority_queue、map、set的自定义比较函数

https://blog.csdn.net/ivan_zjj/article/details/8654728


STL容器时间复杂度分析

https://blog.csdn.net/csnd_ayo/article/details/72574924


AVL平衡二叉树

1、请要相信我,30分钟让你掌握AVL树(平衡二叉树)

http://lib.csdn.net/article/datastructure/9204

2、剑指offer牛客网第41题 答案讨论区 avl实现

3、红黑树删除原理和实现

https://www.cnblogs.com/George1994/p/6934930.html


set相关

1、STL之五:set/multiset用法详解

https://blog.csdn.net/longshengguoji/article/details/8546286



Vector相关

1、初始化方法

https://www.cnblogs.com/wxmdevelop/p/4600762.html



c++整数 字符串 string互转

1、c和c++如何把一个整数转化为string

https://www.cnblogs.com/A-Little-Nut/p/8056421.html

2.c/c++ 数字转成字符串, 字符串转成数字

https://blog.csdn.net/touzani/article/details/1623850/

3、C语言中char int转换问题

https://blog.csdn.net/jason_chen13/article/details/51306421

4、sprintf的使用

https://blog.csdn.net/nopoppy/article/details/52589745


STL之string

https://blog.csdn.net/hero_myself/article/details/52313617


猜你喜欢

转载自blog.csdn.net/yanbao4070/article/details/80099037