DONE! It works. Thank you Adak and KCfromNC for all your help!
Here is a script recording of the files displayed with cat and basic output at the bottom
Script started on Mon Oct 25 18:18:43...
Type: Posts; User: Daerogami
DONE! It works. Thank you Adak and KCfromNC for all your help!
Here is a script recording of the files displayed with cat and basic output at the bottom
Script started on Mon Oct 25 18:18:43...
i forgot to mention, when my indentation is against the edge it's debug code so i can look down the side and see what to delete.
and the fflush(); is to clear getchar(); another part of debugging,...
KCfromNC, I can now say I better understand double pointers and exactly where my pitfalls were.
Now that I have rewritten a bit of my program I am getting the infamous segmentation fault.
I have...
I found out this today in class, im scrapping pretty much everything after my switch statement and starting from there after tweaking it a bit. I intend on going over your post till I understand what...
i think i see what i did, the prototype should mirror the function call, not the variables in the function that were passed from main. Right?
First of all, KCfromNC, with your help i have fixed some of my biggest errors and I thank you.
I went back to my other sets of code that I attempted to divvy up main into multiple functions and I...
Thanks for the warm welcome Adak.
I wanted to break them up into functions(and my assignment requires it), but I couldn't figure out how to pass by reference a 2-D character array from main.
As...
I am reading in multiple variables from the shell and my program needs to find an input file from the jumble of variables passed in.
a command in the shell can look like this:
newgrep [-i]...