-
how to save file in specied location
hi all,
I am dealing with an c program by using Fopen() function...
so pls help me any one how can i save file in my specefied location.
How can i declare path for saving file..
regards,
Naveen Yerramaneni.
-
fp = fopen("c:\some folder\some file.extension");
-
 Originally Posted by jonnin
fp = fopen("c:\some folder\some file.extension");
A word of caution:
In Windows this should be:
fopen("c:\\some folder\\some file.extension")
Danny Kalev
-
Details =( they always get me
-
thanks
hello friend,
I am very thankfull for ur valuable advice....
if i am caling my c.EXE file from java program....and if i had defined any path in c program, storing file in bin directory...so now i can implement ur instrictions inc file...so that file fille be saved in specefied dir of C prog.
one more question is if i am coding C program in another system and calling C.Exe from Java prog from another system. if first system does'n have path of my required in Java, then how can i manage that file in Java program?
regards,
Naveen
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|