| |
 
  |  
 
| 
	
开发:
C++知识库 
Java知识库 
JavaScript 
Python 
PHP知识库 
人工智能 
区块链 
大数据 
移动开发 
嵌入式 
开发工具 
数据结构与算法 
开发测试 
游戏开发 
网络协议 
系统运维 
 教程: HTML教程 CSS教程 JavaScript教程 Go语言教程 JQuery教程 VUE教程 VUE3教程 Bootstrap教程 SQL数据库教程 C语言教程 C++教程 Java教程 Python教程 Python3教程 C#教程 数码: 电脑 笔记本 显卡 显示器 固态硬盘 硬盘 耳机 手机 iphone vivo oppo 小米 华为 单反 装机 图拉丁  | 
	 
| -> 游戏开发 -> The difference between array and vector -> 正文阅读 | 
|  
 | 
[游戏开发]The difference between array and vector | 
| 
 
 Today I want to use the pre and in order result of a tree to achieve a binary tree. It is completely? honest that I cannot use the recursion to obtain that result. Therefore, I find a code in CSDN which achieve a tree successfully. However, in that code , I find a unfamiliar data type name vector. OUT of curiosity, I would to know the difference between them and I was luckily to find this link?(17条消息) c++向量和数组的区别_一本正经的聊数据结构(2):数组与向量_weixin_39638188的博客-CSDN博客 From this artical, I know that there are two drawbacks? in array. The first one is the array cannot be used wihout the fixed length which means that when you define a array, you must tell the computer how meny elements in the array. The second one is that the elements in array must be the same data types. To handle these two drawbacks, the vector came to the stage. anyway, I am increasingly curious about the field or world in programming. wish tomorrwo is a good day.?  | 
|  
 | 
|  
 | 
| 上一篇文章 下一篇文章 查看所有文章 | 
	
  | 
| 
	
开发:
C++知识库 
Java知识库 
JavaScript 
Python 
PHP知识库 
人工智能 
区块链 
大数据 
移动开发 
嵌入式 
开发工具 
数据结构与算法 
开发测试 
游戏开发 
网络协议 
系统运维 
 教程: HTML教程 CSS教程 JavaScript教程 Go语言教程 JQuery教程 VUE教程 VUE3教程 Bootstrap教程 SQL数据库教程 C语言教程 C++教程 Java教程 Python教程 Python3教程 C#教程 数码: 电脑 笔记本 显卡 显示器 固态硬盘 硬盘 耳机 手机 iphone vivo oppo 小米 华为 单反 装机 图拉丁  | 
	 
| 360图书馆 购物 三丰科技 阅读网 日历 万年历 2025年11日历 | -2025/11/4 11:23:24- | 
  |  
 
| 网站联系: qq:121756557 email:121756557@qq.com IT数码 |