随笔分类 - C++ STL
C++ Standard Template Library
摘要:Print out all keys and values from a map in C++ (打印字典中所有的key和Value) https://www.techiedelight.com/print-keys-values-map-cpp/ 如果key不存在会如何? https://stac
阅读全文
摘要:/*vector_example.cpp*/ #include <iostream> #include <vector> #include <string> using namespace std; int main() { vector<string> msg = {"Hello", "C++",
阅读全文