Oh no, I caught myself doing that and even when I removed ".class" it still flopped.
Printable View
Oh no, I caught myself doing that and even when I removed ".class" it still flopped.
Can I see a screenshot of exactly what you're doing in your terminal?
Well I can sure try to get one up.... my blocky 800x600 resolution makes it a little difficult. Although on the plus side, I'm going to be putting more RAM in my computer probably tomorrow!
As soon as my webhost returns to working operation, or I can find some other way, I'll get you that image.
What about learning Assembly? :p
anybody here doing assmebly or know assmebly?
I know assembly and use it from time to time when I want something to run FAST. It makes the fastest programs by a very wide margin, but it's cumbersome and difficult to write and debug.
Parts of my super-efficient JSON engine are written in assembly, but I don't use it very often.
I'm still trying to get great at xhtml/css =*(
I don't know how where javac compiles on windows, are you sure that it put the compiled class in the same directory?
If so this is my guess: your class requires other classes which are part of java's precompiled library. They are in java's directory, and java compiles your class expecting them to be in the same directory. This is why programming is not done on Windows. My suggestion is dual booting Ubuntu and doing your development on that.
Once you get in tune with the basics of Java, get yourself a copy of "Effective Java" by Joshua Bloch. It's one thing to learn the syntax of Java and be able to write simple programs, and it's something else to ACTUALLY have a grip on Java. Basically, you shouldn't be writing large amounts of Java code without having gone through this book and referring back to it when in doubt. It covers a wide variety of best practices that will save your ass.
Likewise:
You are not Scott Meyers, therefore you do not have an excellent grip on C++ :P
Depending on what you're doing, you might be interested in Effective C++, More Effective C++ and Effective STL. It really changes the way you write C++. Just like for Java, I wouldn't let anyone who hasn't at least skimmed some of those books touch any C++ code I'd have to maintain later. :)
No one has an excellent grip on C++. Professional programmers have a good grip on it, but the language is too large and complex to know all of its aspects.
I'd like to think I have a good grip on it :P