it creates result.txt, but i want to create if the input file is input1, output file is input1's result. input2-input2's result ... ect
main(int argc, char *argv )
so, i need smth like this
something=fopen("argv's result", "a" );
argv will be input1.. like ( %d, integer )
so different txt files will be created according to input file when every time the program executed.