well i have a file say list.ini and following are the contents (contents might grow also..) 10002 10009 30000 40000 500000 600000 so my problem i need to read these values from this file and store it in a vector!!!pls give me an idea on how to do it?
SCJP, SCWD <br />A farmer learns more from a bad harvest than a good one.
Since a vector is declared to hold objects, you have to convert each of them to an object first. If your numbers are ints, convert them to an Integer, if they are longs converts them to Long. You can just wrap them like this... Long aLong = new Long(yourNumber)
Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley