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

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -