How to print my map

#include <iostream> #include <map> #include <algorithm> using namespace std; int main() { map<pair<int,int>,pair<int,int>> items; items.insert(make_pair(1,20),make_pair(0,0)); items.insert(make_pair(2,10),make_pair(0,0)); items.insert(make_pair(3,30),make_pair(0,0)); items.insert(make_pair(4,5),make_pair(0,0)); items.insert(make_pair(5,35),make_pair(0,0)); map<pair<int,int>,pair<int,int>>::iterator it; cout<<“Class ID:\t\t\tSamples:\t\t\tTP:\t\t\tPrecision:”<<endl; for(it = items.begin();it!=items.end();++it) { cout<<(it->first).first<<“\t\t\t”<<(it->first).second<<“\t\t\t”<<(it->second).first<<“\t\t\t”<<(it->second).second<<endl; } } I have a code like this but i can’t print my values. Can someone help me please? I’m getting interesting compiler error : Here is…

Details

Persisting GCP Datalab instance even in case of disconnect when launching from cloud shell

When launching Datalab from the GCP Cloud Shell, it launches an instances accessible from localhost:8080. But the command only persists the connection to Datalab when cloud shell is open and connected. Whenever connection to cloud shell is launched, training running on the Datalab instance (GCE) is lost. How do I work with Datalab and persist…

Details

DNS-Mystery: domain only loads on my phone & not desktop — ip works for everything — domain works on other peoples desktop not my gf’s phone

So my domain www.jasonwarner.dev had its name servers forwarded to my unmanaged VPS provider 2 days ago, 24hrs ago I added the domain to my VPS with A record and it activated in about 1 hour, I can access my “site” through IP on any device but not through domain on my desktop. The chat…

Details