5,727 Posted Topics
Re: The express edition when you want it on CD costs money. Money to pay for making the CD, the box, etc., and for shipping it to the store. Then the store will want some money for their effort. I don't see a pro edition of Visual C++ 2005, only the … | |
Re: if you read the book correctly you'll find out that the grade you're working with here is a single double per student, which is calculated from the total series of grades before being stored in the vector. Keeping 2 vectors in synch with each value in one relating to exactly … | |
Re: you should start by learning C++. and by that I mean learn a LOT more about it than you get in a highschool course. | |
Re: if you can't ping the machine you can't get a network connection to it. That's bad for you, but doesn't mean the server is down. It could be a firewall blocking the ping request somewhere which itself can either mean you're not allowed to access the machine or the machine … | |
Re: You'll need a lib-file for the DLL to satisfy your linker. There should be a tool with your distribution to create that. Then you're likely going to want a headerfile containing the declarations of the functions in the DLL, you're likely having to write that yourself (though some library importers … | |
Re: well, there is no isDigit method in String, which is what you're calling. There is a static one in Character, which I guess you're thinking you're calling. But you need to do that differently, something like Character.isDigit(ch) | |
Re: it can be done easily, though the libraries needed are pretty much platform specific as they depend on operating system calls which themselves rely on hardware calls. Basically you have a loop which polls the keyboard (or waits for input from the keyboard) and quits when input is received (or … | |
Re: well, you could write your own driver to access the mdb ;) | |
![]() | Re: You should first learn to communicate in regular English, that should make it a lot easier to get your points across as well as making it a lot easier to find resources online and in your library. When I put "cud" into a search engine I will find a lot … |
Re: Strings are final. You can't change them once they're created, so you're going to have to create a new String based on the old one. In your specific case you could use String newString = s.replace('b', 'B'); but keep in mind that that will replace ALL lowercase b's in the … | |
Re: looks like you're missing a jarfile in your classpath. I don't have Oracle installed here so I can't tell you which one, but the name it gives as missing should be a good indication. | |
Re: Or better buy yourself a good modern Java teaching book like HeadFirst Java (2nd edition) or Agile Java. | |
Re: [code]string ponter = new string;[/code] Now we have a ponter that is a string :) | |
Re: Check those loop conditions... They're not checking for what you think they are. | |
Re: you're always going to need to know both the IP address AND the port AND the protocol to successfully talk with any server (and that is assuming you also are allowed to talk to it, know the usernames and passphrases needed, etc.). | |
Re: Send them to Vermont where they'll get "counseling" after a token 2 months in prison... According to the judge there you shouldn't punish criminals, but help them readjust to society. I'd say readjust them to society with a noose and a tall tree, or at worst with an M16, but … | |
Re: the codebase tag serves a similar purpose to the classpath environment setting in that it helps determine where the JVM should get classes for the applet. | |
Re: Console output is line based and non-exclusive. Never assume you will have the entire screen or even an entire line at your disposal. So you're not supposed to go back to a previous screen location and write there because it likely no longer contains what you originally wrote there (having … | |
Re: Those are warnings, not errors. They're related to things that you're writing having been replaced by other methods and ways of working in the current language specification. The first is because you're not using generics, causing typesafety on Collections to fail. The second is you using an old method that … | |
Re: If you properly set up the application you can exit the application normally (with JVM shutdown) by using the operating system supplied features (like the close icon in the window corner) as well. Something like [code]this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);[/code] in your main application frame should work wonders. | |
Re: That's not Java, that's Javascript, which is something completely different despite the similar name. There's a separate forum for it. | |
Re: Modularity. That way you can use it in many places without having duplicate code. It also keeps your classes small, which makes the code easier to read and maintain. | |
Re: That's a pretty loaded question, about which libraries full of books have been written. If you're really interested, throw some money into it and get yourself some professional software analysis and design training. I took Sun's OO-226 course which was great, and at just over €2000 for a week very … | |
Re: There's tons of books about the subject but nothing's better than some professional training if at all possible followed by some serious coaching by an experienced architect/analyst. Try Sun's OO-226 course, it's excellent. I'm sure there are others but that's the one I have experience with and it taught me … | |
Re: different compared to what? | |
Re: What you get depends on what you want to do with it now and in the future. I've pondered getting a Mac on the side myself for image processing and just to have one ;) but thought why bother. PC works well enough for that for my purposes and I … | |
Re: yes, there are libraries that can do that. Apache FOP is a classic example that I've used in the past for similar purposes. It does require extremely strict and correct html to work though. | |
Re: the last 128MB are likely reserved for videomemory. Most laptops use a shared RAM system like that, yet few detail in the sales brochures that the usable RAM is the total RAM minus the videoram. | |
Re: Files are data... So you can send files if you know how to read and write them ;) | |
Re: yes, people can solve it in theory and practice. In fact many people (including everyone who's ever made a batch based booking system) has already solved it. All that means it's a problem that has a solution and as you want only a simple solution that solution should be easy … | |
Re: no, I'm not going to help you asap. I MIGHT help you if you ask nicely in a year or so. ![]() | |
Re: Figure out some logical structure and stick with it, that's the general rule. What that structure actually is is less important than sticking to it. What I generally do is place classes together based on functionality. So in your case I'd make a package for the user interface classes. Under … | |
I've installed PS Elements 4 (replacing PSP7 and PS Elements 1), but can't get it to work properly in combination with Vuescan. When Vuescan is done scanning it starts PSE4 as required but the new file doesn't load. When using the same setup (set the application to be used in … | |
Re: Start with doing extensive research into the subject, and then determine whether it's feasible for your experience and deadline (if you have to ask whether something like this is even possible I'd guess to conclude in advance that it's not feasible for you). | |
Re: incorrect method signature for your main method usually. | |
Re: You left out Hillary Clinton, first female president of the Ustated Nites. | |
Re: As said, as long as you use Java only (and not JNI for example) it's pure Java (though technically that term may possibly no longer be used since the software certification program was shut down a few years ago). | |
Re: Best call the responsible department directly. Seems they somehow managed to write something that doesn't work with modern JVMs (Java runtimes). | |
Re: Another handy one is [b]sort[/b] For example a script that shows disk usage per directory sorted largest first: [code] du $1 > /tmp/du.out sort -k1nr -odu.sort.out /tmp/du.out rm /tmp/du.out [/code] -k1nr tells sort to order the file on the first column, numerically, in reverse order Tried to get it to … | |
Re: The filter works on a blacklist which you set up as you block senders. It works well but is not intelligent enough to anticipate what is spam and what isn't. For a more intelligent solution (which so far is 100% effective on my system after a few weeks of training) … | |
Re: The mathematics are well described in many publications. For the graphics there are several options, most notably OpenGL and Java2D. Start with studying those separately, then combine that knowledge. ![]() | |
Re: Well, you can create great applications using VI. If you insist on a GUI builder (or WYSIWYDG) Netbeans is the main free offering out there. | |
Re: well, your code doesn't add the combobox or the label to anything so it wouldn't be displayed. | |
Re: and of course several 3rd party ones, and you can make your own (if you have too much time on your hands or a very special need). | |
Re: Never put anything in the common library. That location is for Tomcat internal use. Put them in your web-application's own library path which is <TOMCAT_HOME>/<WEBAPP>/WEB-INF/classes | |
Re: no, it only compares memory locations. So if 2 references point to the same object in memory it will return true (in which case they obviously point to the same type object as well), if they point to 2 different objects it will return false even if equals returns true … | |
Re: Java has pretty decent OpenGL libraries available, search for those. Or you can go straight for painting things on a canvas using Java2D but why take the hard way? |
The End.