|
-
November 2nd, 2003, 12:05 AM
#5
Thanks White_Eskimo, I just finished phase one. Our class uses JBuilder9. If anyone is trying this on your own my professor said that we needed to make a new project for each phase. Also for the user input, I'm using a package provided by my school called cs1.jar. If anyone wants it I can attach it here. To use it in JBuilder9 you would just go in the menu to Project>Project properties then go to the paths tab and at the bottom go to the required libraries tab. Then click on add and then click the new button at the bottom left. Then call it cs1 and click the add button to choose where the package is located. Then just click ok all the way out. Kindof complicated just to add a little package isn't it. Then to use it in the program you would first need this at the top:
import cs1.*;
Then in the program you could use:
int n = Keyboard.readInt();
or
double n = Keyboard.readDouble();
or
String n = Keyboard.readString();
So if anyone wants that package just say the word and I will attach it. It is pretty useful whether you are doing this project or not.
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
|
|