#include <Arduino.h>
#include <vector>
#include <map>
#include <iostream>
using namespace std;
vector<String> cars = {"Volvo", "BMW", "Ford", "Mazda"};
std::map<String, int> people = { {"John", 32}, {"Adele", 45}, {"Bo", 29} };
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
for(String car : cars){
Serial.println(car);
}
for(auto person : people){
Serial.printf("%s, %d\n",person.first, person.second);
// std::cout << person.first << " " << person.second;
}
}
void loop() {
// put your main code here, to run repeatedly:
}