how to save file in specied location
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..
fp = fopen("c:\some folder\some file.extension");
A word of caution:
Originally Posted by jonnin
In Windows this should be:
fopen("c:\\some folder\\some file.extension")
Details =( they always get me
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?
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