strncpy(filename,argv[1],3);
Last edited on
nope, its not working...
i have tried...
What does "it's not working" mean?
i get error from tat
error:
too many argument for strcpy
that's because you're calling strcpy and not strncpy as helios suggested
omg my mistake..
i get it ...
thx helios!
and Disch.