Oh wow, you did that quite quick. I've been trying to follow those guidelines and use the methods suggested but can't get anything to work. If you'd post that up I'd be great, I'll also send you a pm...
Type: Posts; User: Peetah05
Oh wow, you did that quite quick. I've been trying to follow those guidelines and use the methods suggested but can't get anything to work. If you'd post that up I'd be great, I'll also send you a pm...
I have been quite busy with big papers and finals but here is what I have gotten done so far. I apologize for the poor coding and help, my teacher sucks at teaching...cant wait to be done with this...
Hello all,
This is the last assignment of the year for me. A big one, and due by 11am on May 8th. It's a 2-D array problem.
Assignment 8: CS 160 Foundations in Computing
I'm not quite sure...
Ahh, that worked haha. I guess I can't run the configs on the java file. It has to be on the class file.
That's weird though, the output didn't give me the other words that I should have as it...
Yes I am. I'll try it again but I have all of the code that you posted in post #15 in my eclipse window so it should be working...
I did that exact same thing and it gave me the same error. Hmm...I'm not sure what's going on here. The command line arguments are setup right. Did it work for you with the same code and command line...
Here's a screenshot of the error:
http://javaprogrammingforums.com/images/error1.jpg
Thanks for the help, I'm sorry it won't happen again.
For some reason it still can't find the main class. And when I try to run it through the configurations, it doesn't give me the option to...
Crap...I tried doing an if statment saying if(line.equals(dictLine) but that didn't work....
JavaPF if you complete this code in the morning I would really appreciate it. It's due at 11am MT and...
Bump, I really need to get this done. I've tried all I could with this, can't get that loop to work and need this done by 11:00am tomorrow. Anyone?
I guess I'm also a bit confused how the whole code is separated in two parts and the main method is at the bottom area and how it can't find the main class. If you could explain this concept b/c I'm...
I put together a little loop, not sure if it's right...but I'm not quite sure how I can store these words so that I can later print them out as the ones that are not in the dictionary. This is what I...
Anyone? I want to get some more progress on this tonight if possible :)
This is what I have so far. I'm kinda stuck and some of this code might be wrong. If some of you could start me off and get the first parts done that would be great and then I could go from there.
...
Hello all. Sorry for not being too active, I have had 3 tests last week and 2 papers in the past 2 weeks, along with a knee injury this last weekend and have not had time to browse all of my forums....
Oh I see...Thanks again everyone for helping. Just submitted. Really appreciate it all.
I got it to read the file but for some reason it's only reading the first grade in the text file. Mine was 98 and that's all the code found apparently...
It's weird, the scores.txt file is right in the src folder with the java file. I'm not sure why it's not finding it.
20 minutes and counting haha.
In the second program, it compiles, but when I run it and enter in my txt file with some grades in it....I get this error message:
Exception in thread "main" java.io.FileNotFoundException:...
Thanks very much guys. I just tested the first one and it is what I needed. Only thing that I see that's needed is the decimal format command to round the average to two decimal places. I just tried...
Yeah they are actual numbers, not letter grades. As listed in my code, an A is 100-90, B is 89-80, C is 79-70, D is 69-60, and F is 59-0. Then anything negative ends the loop (this is the number type...
If you can do it by tomorrow morning at 11am that would be awesome. I'm gonna get up at 9am so that gives me 2 hours before it's due. I don't think it needs to be re-written, just a lot of editing...
Thanks. It does run, but does not execute once you enter in the grades.
I get this error message:
Exception in thread "main" java.lang.IllegalStateException: Scanner closed
at...
Hello all.
I have this assignment for class and am running out of time to do this. It's due tomorrow at 11am and all of the tutors are gone since it's a Friday and I was in class all day. There...