Hi friends

i have one doubt

i want to write some error messages in a file,but the situation is i dont know the filename.

That is my task is to write in a file , but the name of the file is not known, i have to get that file name in runtime , that will be assigned during the constructor call, and some time that file name was wrong path , i have to find it and i have to write it .

tell me how to write a class file for this.

expecting your replys


what are you saying :| I think that's some sort of impossible tasks!!!
at least you should know the exact path, files reside down.

commented: *A G R E E S* +11