jarro2783 / cxxopts

Lightweight C++ command line option parser

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

how to parse list of list?

lucasjinreal opened this issue · comments

Hi, I want parse a case like this:

my program -I 1,3,224,224 1,10

which I will have a vector<vector<int>> how to do that?

I think that would be difficult to implement. One option would be to parse those into a vector of strings and then split that up separately.

thanks, I have done it.