Results 1 to 4 of 4
- 10-09-2010, 06:24 AM #1
Member
- Join Date
- Oct 2010
- Posts
- 35
- Rep Power
- 0
Some help with I/O, Your help is valuable!
Okay guys...still getting new to this website and i am glad i can come here for some help...I really enjoy programming so far in java but i am stuck with my second assignment for my CS401 programming class at my university..
My program: Create a Scrambler Game
1) Has to have a Class player.java, Scramble.java (not at this point yet), and a main program.
2) Private instance variables stored in the player.java class ( Name, Id, Rounds played, Rounds, Won)
3) Methods to allow player to LOGIN ( name is passed into a method as parameter, if id is found...players logged in status will be marked as "true) REGISTER - test id against a file again and if it is not found it will be added to end of file.
That is where i am struggling... idk how to make a text file check to see what the user puts in... i am new to making classes and methods too... please help!! here is my code below:Last edited by basketball8533; 10-12-2010 at 03:27 PM.
- 10-09-2010, 09:02 AM #2
Lesson: Basic I/O (The Java™ Tutorials > Essential Classes)
I understand that you're new, but formatting your code similarly to the vast majority of members here will greatly improve your chances of getting help for this or any other question you may have. Please go through
Code Conventions for the Java(TM) Programming Language: Contents
db
- 10-10-2010, 01:53 AM #3
Senior Member
- Join Date
- Feb 2010
- Location
- Waterford, Ireland
- Posts
- 748
- Rep Power
- 4
What have you tried?
- 10-12-2010, 03:01 AM #4
Member
- Join Date
- Oct 2010
- Posts
- 35
- Rep Power
- 0
Similar Threads
-
How can i create XML file from JTree ? :: Need ur valuable Suggestions.
By kranthipoturaju in forum XMLReplies: 2Last Post: 06-07-2011, 05:07 PM -
How can i create XML file from JTree ? :: Need ur valuable Suggestions.
By kranthipoturaju in forum AWT / SwingReplies: 0Last Post: 02-25-2010, 05:49 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks