I know there's a posts about this and I have tried to go through them and they haven't seemed to solve my issue. I'm guessing it's something simple that I've overlooked, but I swear I don't see it.
So here goes...
from main
char *newstr = argv[3];
header(newstr);
function header
void header(char *read_file){
I'm getting conflicting types for 'header', and warning: passing argument 1 of 'header' from incompatible pointer type.
I went through the reference links from this thread and it seems like I'm following the right path to passing the arguments. My only guess is that it has something to do with argv.
Here's my args too, I've been using them just fine before this tripped me up.
-q Imhere.txt b.txt dynArray.c b.txt