You sir were an amazing help. Removing the * term from argv[i] = *new worked like a charm and the program ran just as intended. I lift my hat to you. Kudos and thank you so very much :D
Type: Posts; User: leinad0213
You sir were an amazing help. Removing the * term from argv[i] = *new worked like a charm and the program ran just as intended. I lift my hat to you. Kudos and thank you so very much :D
Oh just noticed that bug. I fixed it but I keep getting the error "main.c:25:10: warning: assignment makes pointer from integer without a cast [enabled by default]"
So this program is supposed to take the input string and break it down to each individual argument into separate lines then add ".txt" to each end of the arguments after.
For example if I prompt...