If you can't afford the price, use a cheaper alternative...
There's PSP, Gimp, etc. etc.
Theft is theft also if it's "because I need it and can't afford it".
If you can't afford the price, use a cheaper alternative...
There's PSP, Gimp, etc. etc.
Theft is theft also if it's "because I need it and can't afford it".
Think of calling a method to do a database query on a database that is closed.
Or calling a read method on a stream that's past the end of the data.
Or calling write methods on a readonly file.
Note that these won't throw IllegalStateException in Java but they could (they throw something more specific).
In general it's there to indicate you're trying to do something with an object that at that moment isn't possible to do with it.
bump... I wonder how long until the FF zealots will jump in and deny there's a problem because they haven't seen anything using it...
Java Language specification (second edition) section 12.1.4:
12.1.4 Invoke Test.main
Finally, after completion of the initialization for class Test (during which other consequential loading, linking, and initializing may have occurred), the method main of Test is invoked.
The method main must be declared public, static, and void. It must accept a single argument that is an array of strings.
http://java.sun.com/docs/books/jls/ a mandatory link for everyone using Java, it's the final word on everything.
Have you ever tried to built a print preview using C/C++ ? Let me guess you simply used the SDI/MDI interfaces provided by the MFC. Am i right?
I don't use MFC ;)
I've done it using ObjectWindows though.
Can't say it was much harder than using Java...
But then I specialise in serverside background processes and web applications which don't do many printer previews and don't do any MFC or Swing at all :)
As for chainsaw - did you have a traumatic childhood??
The only troubled one here seems to be you. You're the only one after all who can't even respect that others don't share your opinion as well as being the only one whose opinion is as narrow as yours seems to be.
Before i end my post let me let me advice you guys not to be jack of all trades and master of none
Don't worry. We've enough experience to be master at at least one technology (and usually more than one) and still have knowledge of several others...
"versatile" language like Pascal?
Don't make me laugh. Quite obviously you have no idea what you're talking about if you think C++ is not versatile.
If anything the main fault to be found in C++ is that it's TOO versatile, TOO flexible, and as a result there are no real standardised solutions for many problems, leading people to have to reinvent the wheel a lot.
But with a decent collection of libraries in your posession that gets reduced a lot, just as it is with other languages.
Unix is written for about 90% in C, the rest is a mix of ASM and mainly shellscripts.
As Alex says, you could create an OS in which the core consists of a JVM and the entire rest is in fact written in Java. You could even put that core into hardware and have the entire OS in Java.
Sun has done this as an experiment for embedded devices and it works (it just didn't sell, shame really).
It looks to me like the one lacking (realworld) experience is Richard...
While I don't always see eye to eye with Narue about everything I do recognise her as an experienced professional.
Don't use applet classes outside applets, they won't work outside the applet sandbox.
If this is an applet, remember you can not access ANY resource that doesn't reside on the same server as the one from which the applet main class was loaded.
You have to wonder why ID and Valve didnt turn to one of the many "Hey-make-a-game-in-5-minutes-even-with-3d!" programs on the internet to make their latest creations......
They did. It took them 3 years to write that program, then 5 minutes to create the game using it ;)
There's use for Java and C++ both, there's even use for Cobol and PL/1.
Neither is perfect, neither is omnipotent.
Personally I favour Java for most things but when you really need to get down to the hardware Java gives up by design.
Any library that claims to allow direct hardware access is in fact going through a JNI interface which plugs into a C or C++ (usually) library to do the actual interfacing.
Where Java is particularly strong is networking, something the language was designed to be used for.
Correct. The "scientists" who came up with this nonsense never heard of reactionless thrusters or time dilation effects.
While in the past the reindeer may well have been functional I'd venture that currently they're mainly kept for appearances' sake and the real propulsion system is more advanced.
If I can teach one person to learn to find their own answers I'll have helped one person...
If I regurgitate code for everyone who wants some I've helped noone as they'll still not know how to find their own answers and will forever (or more likely until they end up in the unemployment line) come here for more and more.
Time for a Big Bump.
I'd like to add a title or two as well, which even though not C++ specific should be required reading for any serious student (or practitioner) of software development.
correct.
In the case of an integer it's rather trivial as the hashcode will be the integer itself but the concept is sound.
if you get an exception on application shutdown there's something wrong with your application and you shouldn't blame the shutdown hook for it.
As to providing a menu, check your Swing tutorials...
Kaspersky is an excellent product. I switched to it (corporate license, sometimes it pays to work for a reseller ;)) when my license for Panda expired and their support department were completely deaf to support requests getting my account reactivated (after paying of course, they still didn't respond...).
Use it in conjunction with ZoneAlarm (beware of ZA5 though, it blocks some things it shouldn't even when you specifically tell it not to, I stick with ZA4.5 for now).
Ditching IE isn't necessary at all unless you want to be politically correct and show how much you hate Microsoft.
If you turn off automatic execution of ActiveX you're safe (and don't just click OK to everything that wants to run of course).
1) don't visit warez sites, they're hothouses for all kinds of nastiness (plus using warez hurts the software development community badly as well as being illegal...)
2) don't install anything you don't know in advance what it will do
3) don't open email attachments you didn't expect you'd get (even from people you know!)
4) ditch those p2p programs, run legal software and play legal music and movies
5) be careful visiting porn sites :mrgreen:
ask specific questions, don't ask people to do your homework.
If you're stuck post what you have and tell where you're stumped so people can direct you towards a solution (they may not even give you code, but tell you in words how to go about solving it).
The last thing professionals want is (more, there are quite a lot) of people entering the industry who can't write a line of code. By doing your homework for you that would be exactly what we would be causing.