i hope this is an ok subject to talk about. I don't need help with athe pset, since iI have finished it nowalready. For a while in caesarcaesar, I was getting a segmentation fault and. after changing argc[2] to argc[1] i managedargv[2]
to get past itargv[1]
, the problem was solved.
But myMy question is why,: if I use argv[2] to take 3my command line-line arguments (in my caseare ././
, caesarcaesar
and a key)key
, why is my key the 2nd argumentkey
is in argv[1]
and not the 3rd oneargv[2]
?