-
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
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks