Hey I'm just wondering if something similar to this is possible?
map <string,int> letter;
letter["a","d","g","j" ,"m","p","t","w "] = 1;
Or is there no other way and I have to do it like this.
letter["a"]=1;
letter["d"]=1;
letter["g"]=1;
map <string,int> letter;
letter["a","d","g","j" ,"m","p","t","w "] = 1;
Or is there no other way and I have to do it like this.
letter["a"]=1;
letter["d"]=1;
letter["g"]=1;
Comment