5,727 Posted Topics
Re: The same people who now scream "Global warming disaster, the icecaps are melting and everyone will die!!!!!!!" 20 years ago screamed "global cooling disaster, we're heading straight for a new ice age!!!!!!!". Fact: the climate has seen far greater and faster changes than we see now in the past when … | |
Re: XMLSpy is crap. Overly intrusive, way too complex. You need nothing more than a decent text editor to write XML, or something like Calisto if you insist on an editor that has highlighting and stuff. | |
Re: of course it MIGHT ensue. If so it will go unnoticed in the violence already going on. More likely though it will lead to more stability in Iraq as the Baathists have lost their main icon and will start to loose their will to fight. Saddam was never a friend … | |
Re: Well, you will need that class... It's not going to appear out of thin air, so you will have to write it (though I presume this is part of some example, which means it will be there somewhere else in the example). | |
Re: That's one way. Another way is phone polls. Interviewers phone a number of people, asking them what they've got on TV, and extrapolate from that. In the past they used to send out questionaires for people to fill out, asking them to keep track themselves and send in a piece … | |
Re: I THINK he's trying something like [code] class SomeClass { int[] data; int getField1() { return data[0]; } int getField2() { return data[1]; } } [/code] instead of the more reasonable [code] class SomeClass { int field1; int field2; int getField1() { return field1; } int getField2() { return field2; … | |
Re: what about a book? They often contain a surprising amount of information. Or a search engine, but those can be tricky as they often lead to weird and not always wonderful things. | |
Re: hmm, the last version of the Win32 API I used didn't allow for a transparent button background. But it didn't allow for pictures as backgrounds to windows either. Of course that's the WinNT4 API, which is rather old :) | |
Re: And we're not going to do the homework for lazy kids who can't even be bothered to try and hide that it's homework nor try to come up with a title that's even remotely descriptive. We WANT such kids to fail so they won't bother us as potential colleagues later. | |
Re: unless of course you #include "im133e7hax0r.h" :) | |
Re: no, I'm not going to tell you how to do that as you shouldn't. Call it from a servlet and send the results to the JSP. | |
Re: 1) use code tags 2) don't put Java code in JSPs, they're meant ONLY for displaying results | |
Re: and learn to read compiler errors... They tell you (usually) where and what the problem is. | |
Re: But you can NOT run it from just any web hosting account. You'll need something quite a bit more comprehensive, as your average webhosting account does NOT permit you to run anything outside the webserver (and often only flat html files, no serverside code at all) and no additional services … | |
Re: no, it's definitely NOT perfectly legal to crack or otherwise bypass copy protection systems (like CD checks). At the very least it's a breach of contract. Tough luck, pirate wannabe. I've heard ALL the excuses, they all come down to a kid not wanting to buy a game, and the … | |
Re: Uh, OEM means nothing really. The letters stand for "Original Equipment Manufacturer". It denotes WHO builds the system, not what the system is. If Dell sells you a PC they're the OEM, if I build my own I'm one. | |
Re: that's a lot of squid (yes, I've heard the term squid used as slang for quid) ;) | |
Re: If that's part of a JSP, never look at that example again. That sort of code (or indeed ANY code) does NOT belong in a JSP. Nor should anyone, ever, directly reference any of the classes in the com.sun packages. This code references a connection pool provided by an application … | |
Re: In fact & and | aren't strictly logical comparison operators at all. They're logical mathematical operators. So instead of performing a comparison you're performing a mathematical operation if you use them, and evaluating the result of that operation. | |
Re: In fact, almost any attempt to crack passwords is a criminal offense, so you're almost certainly asking us to help you commit a crime, which is also a criminal offense. | |
![]() | Re: The maximum limit for globals in any program should be [B][COLOR="Red"]ZERO[/COLOR][/B]. Globals are evil and should not generally be used. |
Re: The second is easy. Pascal has built in libraries to convert numbers between bases, just use those. The third is also easy, once you set up the structure of the program correctly. At the moment you don't do anything to let the user choose what to do. Write that first. | |
![]() | Re: 1) seet tools->options->text editor->all languages->line numbers 2) using #include <iostream> is the preferred way for C++ for standard library includes, #include <iostream.h> is deprecated. The major difference is that the first uses namespaces heavily, the second doesn't for backwards compatibility reasons. 3) You can write MFC code, but you won't … ![]() |
Re: smokers however do cause severe problems for non-smokers indirectly even when they don't expose those non-smokers to their smoke. The far higher incidence of serious respiratory problems among smokers is a large drain on healthcare resources which are (in many countries) paid for by taxpayers at least in large part. … | |
Re: and please use real words, not things like "plz", "u", etc.. At first glance your problem has almost certainly to do with your mathematics. You THINK you're doing floating point divisions and multiplications, but are you really? Think about how Java treats the results of a division between 2 numbers. | |
Re: I no longer have the specification for Call Detail Record files, sorry. | |
Re: no, the new syntax for loop introduced in 5.0 allows an alternative syntax. [code] for (SomeObject o: someCollection) { // do something with o } [/code] someCollection MUST be of type Collection<SomeObject> OR an array of SomeObject (so of type SomeObject[]). It is shorthand for creating an Iterator over the … | |
Re: And here's another classic example of why people should learn the language first instead of the tools. All the miriad steps required to get something simple like Hello World (or any homework assignment) working using an IDE make it a non-trivial exercise and the student starts learning the tool instead … | |
Re: never heard of a "VB C++ program". And no, we're not here to do your homework for you. | |
Re: no spyware, just a part of the normal printer drivers and NOT downloaded separately. If you need it it will be included in your regular driver installation. | |
Re: [quote]While one currently requires a special UNIX-based computer, such as a Sun machine, to run UNIX, Linux can run on virtually any x86-based PC. (Such as your home computer.) This is definitely a plus for this operating system. [/quote] Small correction here, Linux is a Unix variant just like AIX, … | |
Re: I know Jive supports what you're looking for (I coded part of the functionality myself...). [url]http://www.jivesoftware.com[/url] Mind I've no commercial interest in them, I was a part of the group that coded the initial version before the project leaders went commercial with it (effectively kicking us all out, as we'd … | |
Re: we're not here to do peoples' homework for them Walt, as you should know ;) | |
Re: if you're revising for an exam and still don't know those things you might as well cancel the exam and actually visit your classes the next time the course is taught because you're all but certain to fail (miracles do happen, but don't count on them). | |
Re: Either extend Thread OR implement Runnable, no need to do both. And the method you need is simply called "run()", not "threadRun()". Your threads are running nicely, they're just not doing anything because the empty run() method in Thread (which you tried to override but didn't) doesn't do anything. | |
Re: you could start by reading the manual, it usually contains instructions to do things like use the product. If you can't read, you might want to have someone sign you up for classes to learn that first. ![]() | |
Re: First learn to be a very GOOD C/C++/Assembly programmer instead of a poor one (which you yourself admit to being). That should take about 10 years, during which time you might be able to learn a lot of the skills needed to create something that detects malicious code. Antivirus firms … | |
Re: That's not Javascript, it's JSP scriptlet code. And that's something you should NOT use. Learn about proper web application design and put everything except display code in a servlet. | |
Re: 1) learn to use your chosen technologies independently before trying them in combination. 2) don't use tools like Dreamweaver until you can understand what it is they're putting out. 3) post your questions in the correct place. Moving this to the JSP forum. | |
Re: That's what a Hashtable (you should prefer HashMap over it and ArrayList over Vector, but that's another story) is all about... Or are you trying to add the content of the Vector to the content of the Vector that's already there? That's easy enough to accomplish, using code like [code] … | |
Re: That's the JDBC driver for the database you're planning to talk to. Read its documentation, it will tell you what to do. The first is a classname (provided by the driver), the second looks to be the URI for the driver to talk to the actual database (in this case … | |
Re: Or if it's a small number of pre-recorded tapes just buy the DVD as that will be easier and quite possibly cheaper as well :) | |
Re: I've been reading (on and off) "Objects, Abstraction, Data Structures, and Design using C++", Koffman and Wolfgang. Excellent books, especially in combination with "Accellerated C++". ISBN 0471467553 | |
Re: Certification on its own won't help you in most countries (though in India it's all the hype it seems, reflecting how things were in Europe and America 5-10 years ago). In fact at least one company I worked for had a set policy to NOT hire people with certifications unless … | |
Re: and what about different base numbers? Right now it will reject valid hexadecimal input (for example) while accepting invalid octal and binary input. ![]() | |
Re: Your data won't magically make it to the database just because it's there. You'll need to write code to put it into the database. There are many ways to do this, but as a beginner you should start out learning the basics and that's JDBC. There are quite a few … | |
Re: Well, the errors seem rather clear. You're calling your findKey method with an illegal signature. And you never declared a variable "foundNode" before using it. | |
Re: not event taken the time to unzip the assignment and copy the document? We're not going to do your homework for you, especially as you obviously haven't even looked at it before posting it here (the zipfile has not been opened, I can tell!). |
The End.