c++ - How to get a 2d int array from a char*? -


i want pass 2d int array main function. since main function signature int main(int argc, char*argv[] how can 2d array int[][] in code?

command line: myprogram {{2,3},{5,6},{4,5},{6,8},{2,5}}

this: {{2,3},{5,6},{4,5},{6,8},{2,5}} end string in program. need break pieces turn array of arrays.


Comments

Popular posts from this blog

php - How can I edit my code to echo the data of child's element where my search term was found in, in XMLReader? -

javascript - Iterate over array and calculate average values of array-parts -

iphone - Using nested NSDictionary with Picker -