im trying to get my program to take a string from the user and split it up into arguments and then have the program execute code depending on what the first argument is and how it relates to the arguments after it. argv doesnt seem to be working. if anyone can help with this problem please let me know! :)
there's a lot of code, i'm using if statements with argv[0], argv[1], etc. whenever i write something to cout the argc, it always says 1, and when i try to print it to the screen, it gives the name of the file and nothing that ive entered into the command line.