lundi 22 juin 2015

How to initialize a vector of pair of string,string in a c++ class?

How do I initialize a vector of a pair of strings in a C++ class? I tried several things but none worked out.

vector<pair<string,string>> myVec(); //doesn't work

Aucun commentaire:

Enregistrer un commentaire