fork(1) download
#include 
#include 
#include 
#include 

using namespace std;
int main()
{
    map > Grade = {
                {"Bobby Jay",    {{67.8,  44.5, 20.8}} },
                {"Bobby Tables", {{999.0, -1.2, 3.14}} }
           };

    for(auto& p: Grade) {
        std::cout << "'" << p.first << "' => {";
        bool first=true;
        for(double d: p.second) {
            std::cout << (first?"":",") << d;
            first = false;
        }
        std::cout << "}\n";
    }
}
Success #stdin #stdout 0s 2988KB
stdin
Standard input is empty
stdout
'Bobby Jay' => {67.8,44.5,20.8}
'Bobby Tables' => {999,-1.2,3.14}