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
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.
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...
Summary: i just got java 1.4 and i have a problem with the java.exe file. it doesnt seem to read the file that i try to run with it. this is an example of what i get java.lang.NoClassDefFoundError: C:\WINDOW...
Summary: As the title states, I am attempting to implement a C++ GUI into a Java application. I am using Eclipse editor for writing most of the code. The program was initially used with a Java GUI, but to make...
Summary: I have just started using Visual J++ 6. Its obvious to me now that Im a bit late. I actually thought I had hit a winner, because I wanted to: 1. Use the JDK 1.4 classes 2. Be able to create an executa...