I have input files like this
a.iup
b.iup
c.iup.......
i have these input files in a variable called fname;
like this
char *fname="c:\\iupfiles\\a.iup";
every time i will get file name in this variable. But how to concatenate the variable with some other name like as follows in output file name.
in a loop i will get one file at one time. I have write the output into file for each input file as
a_res.txt
b_res.txt
c_res.txt...
like this. How to do this..