what the best way in c/c++ ??
I think i will go with struct in C yes or no ?
Perhaps?
The best way it’s the one which suits your code. And there’s no rule which says the best way in C is the same in C++, so you’d better decide if you’re going to write a code in C or in C++.
I love standard library, so I think I’d go with a std::vector<std::pair<std::string, std::string>>, but another one could give a totally different answer.