Hi all,

i am in desperate need of help... i've got a simple maths problem that requires performing a series of calculations on a series of single integers...

i have the program to do the calulations, but i want to fully automate it, and would like to output the results to a file, whos name is the same as the number which the operation is carried out on... EG. if i was doing the calculation on the number 335 i would like the file to be called 335
fopen will only allow 'const char' to be used an an input? how do use variable filenames???

please please help
thanks in advance

Si-man