I need to blend these two items together so that the numbers i enter in my command line argument create a 2d array full of random numbers. how can i do this? thinking i need to use atoi to convert argv to an int.
So, the user gives two numbers X and Y as command line arguments and and you then create a 2D array with X*Y elements?
Yes, atoi, strtol, etc conversion from const char * to integer is required. First test that you do get enough arguments. Then test that you did get valid X and Y. Then reserve the array dynamically. Finally, initialize the array with numbers and show it.