一、C与C++差异
(1)头文件包含不带.h
C: #include<stdio.h>
C++: #include<vector>
(2)命令名空间的概念:使用标准库函数,需要using namespace std
二 STL模板&&iterator
一、C与C++差异
(1)头文件包含不带.h
C: #include<stdio.h>
C++: #include<vector>
(2)命令名空间的概念:使用标准库函数,需要using namespace std
二 STL模板&&iterator