摘要:
C++:基本类型的转换 一、string转为int 【参考:https://blog.csdn.net/m0_37316917/article/details/82712017】 C++ string pp = "dagah"; cout (二)const char 指针遍历string,元素依次赋 阅读全文
摘要:
C++:map用法 一、map基本用法 键值对 第一个参数为键的类型,第二个参数为值的类型。 源代码 C++ include include using namespace std; int main(){ map table; table[1]=1; cout 运行结果: 2. map内元素值为常 阅读全文