I'm trying to take 2 filenames as arguments in my C program, then pass the second argument to another function, which does nothing to it but then passes it on to another function.
I'm starting the program using
Passing it to another function withCode:
int main(int argc, char *argv)
which takes it...Code:
passing it to another function withCode:
which collects it withCode:
When I try and compile, it says I'm passing an incompatible pointer type. What am I doing wrong?