mirror of
https://github.com/Light-City/CPlusPlusThings.git
synced 2026-02-07 20:44:32 +08:00
support bazel complie this project and format code.
This commit is contained in:
17
learn_class/modern_cpp_30/container1/container.cpp
Normal file
17
learn_class/modern_cpp_30/container1/container.cpp
Normal file
@@ -0,0 +1,17 @@
|
||||
//
|
||||
// Created by light on 19-12-16.
|
||||
//
|
||||
|
||||
#include "output_container.h"
|
||||
#include <iostream>
|
||||
#include <map>
|
||||
#include <vector>
|
||||
|
||||
using namespace std;
|
||||
|
||||
int main() {
|
||||
map<int, int> mp{{1, 1}, {2, 4}, {3, 9}};
|
||||
cout << mp << endl;
|
||||
vector<vector<int>> vv{{1, 1}, {2, 4}, {3, 9}};
|
||||
cout << vv << endl;
|
||||
}
|
||||
Reference in New Issue
Block a user