Thread: gcc file operation
hi all
have code has file operations.
have got 2 issues
1. want file name user> append file extension> , mention file name in fopen() command.
2. file want open in folder c program run.
ie if have file named 123.txt in folder "jkl"
ll name 123 user append .txt name , mention name in
fopen command.
used strcat() function append, if variable holds name "fn", how can mention in fopen command?
can u me doin this??
one thread per question please.
closed.
Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Programming Talk gcc file operation
Ubuntu
Comments
Post a Comment