*
The moose likes Beginning Java and the fly likes Help needed Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Help needed" Watch "Help needed" New topic
Author

Help needed

Tony Magnier
Greenhorn

Joined: Apr 24, 2001
Posts: 1
Need some quick help. Its for my first year project for university and am having trouble getting started (due partly to being a bad programmer and partly because going for a drink with friends is more appealing). I have been asked to
Read in a variable number of portfolios from the text
file exampleportfolios.txt. the first integer
in this file is the number of portfolios it contains
. You should create an array in the main method
to store these portfolios (open the text file
and varify the the format).
any help would be much appreciated for any part of the problem. Thank you
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Surely you don't want someone else to do the assignment for you. When I was in class, people gave money to geeks for things like that. But no money changes hands here (even though some of us are geeks), so the best we can do is help you with code that isn't working. What do you have so far?
 
 
subject: Help needed
 
Similar Threads
I need read a directory, capture all the file names and write them to a text file.
to read lines inside brackets
URGENT - runtime.exec command doesn't execute on unix
Sorting Collections
Finding poistion (Line Number) of text in a given File.