Computing.Net > Forums > Programming > C++ (kill,create) & Java > .exe

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Click here to start participating now! Also, check out the New User Guide.

C++ (kill,create) & Java > .exe

Reply to Message Icon

Name: Josh
Date: July 24, 2003 at 10:25:39 Pacific
OS: WinXP
CPU/Ram: Intel Cel 1.7/256DDR
Comment:

What I need to know is how would I kill a file and create a file in C++. Not Visual C++. And how could I browse through directories and such. A good weppage on it would be good, or someonewould enjoy taking the time explaining it to me.

Another thing is in Java Runtime 2 you don't seem to be able to make executable files. I was wondering if anyone knew if there was a way to do this cause I like Java and am geting good, but... I can't make executables and the task of making an applet takes a bit of time and plus... I want an executable file.

Thanx for yalls time... Bye



Sponsored Link
Ads by Google

Response Number 1
Name: micah
Date: July 24, 2003 at 12:04:44 Pacific
Reply:

Look up _unlink() for killing a file, _creat() to create one, or _open(). To browse through directories use FindFirstFile() and FindNextFile() Then _stat() to get size, creation dates, etc, etc. I use VC++ but I'm pretty sure those functions will work in C++. If not, sorry.

I dont know about the java stuff. I was actually going to start learning java today but I started writting my own AIM client instead...

-Micah


0
Reply to Message Icon

Related Posts

See More


String cutting in C Database searcher\organiz...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: C++ (kill,create) & Java > .exe

java.exe error www.computing.net/answers/programming/javaexe-error/2039.html

C++ GUI in a java program www.computing.net/answers/programming/c-gui-in-a-java-program/16600.html

Programming in java www.computing.net/answers/programming/programming-in-java/7510.html