I'm betting that the fopen call is now something like
fopen( argv[1][0], "r");
Type: Posts; User: Salem
I'm betting that the fopen call is now something like
fopen( argv[1][0], "r");
> Then post your latest code and latest error message(s), if you're still stuck.
If this is too hard for you, try something other than programming.
Then post your latest code and latest error message(s), if you're still stuck.
> I even removed 1 from main (int argc, int argv[1], still this is what I 'm getting
But you didn't change the int to char did you?
Read your C book again to see how main should be declared.