is there any chance you can write this here for me, i have been stuck on this for a week now and its frustrating, i am only a beginner at programming and i learn better when i see actual java material
Welcome to the Java Programming Forums
The professional, friendly Java community. 21,500 members and growing!
The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.
>> REGISTER NOW TO START POSTING
Members have full access to the forums. Advertisements are removed for registered users.
is there any chance you can write this here for me, i have been stuck on this for a week now and its frustrating, i am only a beginner at programming and i learn better when i see actual java material
From post #20fis.read() // reads a byte from file
If you don't understand my answer, don't ignore it, ask a question.
tomb1992 (March 5th, 2013)
cheers, you may think i'm lazy lol but ive been working so hard on this, my coding together comes to about 600/700 lines and its frustrating that this is probably the most important part and its about 3 lines long and i cant do it, thanks for your help anyways
The code in post #20 reads bytes from the file into an int variable and tests if that variable has a -1 value. The statements need to be changed around to be used in a for loop instead of a while loop.learn better when i see actual java material
If you don't understand my answer, don't ignore it, ask a question.