I tried to put argv into a cycle:
for (each argv[i]) int k[i] = atoi(argv[i]); // here...
...the compiler tells me to add '&' before argv to address; afterward, the compiler tells me that variable-sized object may not be initialized. Must I initialize k and then return something to that?
I have not viewed this yet in the lessons, shorts or walkthroughs.
Assuming that I need to save each variable
k, in this case
k[i], obtained by iteration in a new string of int named
k, how could I do this? With the code I wrote, I can see
k[i]only inside the
Is there an easier way to do this?