5,727 Posted Topics
Re: The runtime is backwards compatible (if the code was originally written by someone who's not a complete moron for using classes that are clearly mentioned you should not use). | |
Re: I could: see the installation instructions ;) They're quite comprehensive for a variety of platforms. | |
Re: .NET is not a ripoff of Java just as Java is not a ripoff of C++. .NET is a logical progression from the existing COM+ technology which itself is a development of older ActiveX technology the predecessors of which existed over 10 years ago. Java didn't invent the concept of … | |
Re: hmm, Cobol editors are usually rather BASIC (pun intended) and save either as plain text files (so you can easily ftp them to a server for compilation), or into some sort of database repository where the compiler will pull them from. This looks like some regular expression being passed into … | |
Re: so you liked the sound of it but haven't got a clue what it actually is? Why not ask the person who wrote the proposal? Or maybe find something that you do actually understand? | |
Re: and if you want to build it, why ask for someone else to do the work for you? | |
Re: at last newsies killing eachother instead of others in pursuit of a story. Shame about the helicopters though. | |
Re: Look at the logging API that's no part of the language (or products like Log4J). | |
Re: no, we're not going to do your (home)work for you. That's pretty basic functionality, anyone should be able to figure it out for themselves. Regular expressions to find URLs are scattered all over the web if you want them. | |
Re: I doubt anyone there would be willing to help him if he doesn't provide more information than that though (if only because it's far from enough to say more than that he's done something wrong somewhere). | |
Re: EE is a good site. They went commercial a while ago which is sad but understandable given the cost of running a major site like that. | |
Re: but of course you shouldn't do any of that in a JSP as it's not what they're meant for. In JSTL you could just use < and > to compare context fields containing Dates of course. | |
Re: why reinvent the wheel when there are perfectly good solutions like Hibernate and Spring already out there? | |
Re: obviously. For starters he's missing an include for his very own headerfile... I didn't look further than that. | |
Re: If you back up your work before experimenting you can always revert to a version that worked and start from there... At the very least get rid of that hardcoded dictionary in your main class, and separate the business logic from the user interface. | |
Re: yup. The code is returned to the operating system and can be polled from other programs (like shellscripts) to determine the reason why the program terminated (with 0 traditionally indicating that everything worked smoothly). | |
Re: [quote]Is there a way java automatically detects classes [/quote] yes, kinda, depending on what you mean [quote] is there a way I can access a class at runtime by a string so that I can just read a text file and know what classes to get[/quote] yes You can set … | |
Re: [quote]Guys, sorry but just give me exactly how the code should be written, so i cn turn in my assignment by tonight! [/quote] That's NOT how things work. If you're incapable of or unwilling to (sounds not the case here) doing your work you SHOULD fail early, to prevent worse … | |
Re: and now you put that into code. And when you've done that and it actually works (instead of pasting something you pilfered out of a newsgroup or website without actually seeing if it does anything close to what you're supposed to do), you try to make it look like you … | |
Re: [QUOTE=Killer_Typo;400676]java compilers and the java runtime environment are created using C++ [/quote] Possibly, but not necessarilly. You can just as well write a JVM in say Fortran or Assembly. Or create one in hardware. Anyway, the language a compiler or operating system is written in is no indication that you … | |
Re: hmm, so you need to control a touch screen, electronic payment terminals, and things like that as well? | |
Re: And no, we're not here to do your homework for you... And I will NOT open zipfiles presented to me by total strangers, as such usually contain trojans and other nasties I certainly don't want on my system. | |
Re: You will need to add the required jarfile for the servlet API to your classpath. | |
Re: well, it all depends on your operating system of course... For Windows, Microsoft Visual C++ is pretty much the standard, with Codegears C++ Builder (or the cheaper (there's even a free version) Turbo C++ Explorer) as a good alternative. | |
Re: and why should we do your research for you? You have the entire internet at your disposal to figure things out, use it. | |
Re: [QUOTE=Ezzaral;407087]Memorizing API functions and trying to decipher exception messages from a text stack trace only slow down the process of learning the language and how to use it effectively. Some would say "bah, that's all part of the trials a beginner must face!", but I don't think that necessarily enhances … | |
Re: Sigh, I never had one... My parents could easily afford them but never pampered us kids (and didn't think computers were important for education which at the time was quite correct). First computer I had (or rather my parents) was an original IBM PC Portable, back in 1984. Before that … | |
Re: this has nothing to do with JSP... And you seem to have defined your instance (I hope) variable conn as being of the wrong type. Anyway, what you're doing is terrible. You should never open connections to external resources at a different place from where you're going to close them. … | |
Re: [QUOTE=Serunson;383228]sentence was reduced to 3 days ~ celebrity's could get away with murder...... a flutter of the eyelids and the guards drop to the floor like dogs......[/QUOTE] HAVE gotten away with murder... Remember OJ Simpson? He got away with murder because he's famous and black. | |
Re: [quote]Assuming you have fully tested it [/quote] Never assume that, it's hubris ;) [quote]i hate free trials - i mean, how many of us have used winzip/winrar past the 30 days eh? [/quote] I have, but I paid for it ;) Not only is it immoral and illegal not to, … | |
Re: Or do the smart thing, and supply a configuration file for log4j as explained in the manual. Far more flexible, and you can tune logging options without needing to recompile everything. | |
Re: now let's try that with input (10000000000, 325523) :) I do want some performance out of it of course... ![]() | |
Re: there is no "paint" interface, at least not in any well architectured API. Anyone who doesn't know what an interface is or how to use one should resort to some beginner's tutorial btw. | |
Re: and it's certainly not urgent. There's no urgency at all for any of us to help you. | |
Re: it all depends on the compiler, the linker, and the options you set for them. A suboptimal compiler or linker may link in a lot of stuff that's not needed, an optimising one may remove all that. Runtime performance won't be affected by that (except maybe application loading times, which … | |
Re: 1) your law doesn't apply if the contract (which you went into by installing the software) was written under another jurisdiction 2) there are always cheaper alternatives. You get what you pay for of course 3) if those colleagues commit suicide, will you follow their example? So why do you … | |
Re: [code] #include stdio.h [/code] ![]() | |
Re: > Those questions aside, here's how i'd do it in C++ > I like it. But I forgot to tell you that our development environment is extremely buggy and resource intensive (management is looking into replacing it). Using the standard library would be a bad idea for this component since … | |
Re: "only problem is that I have to do everything by hand" That's no problem at all, unless your hand is broken (and if so you can learn to use your other hand). First you should try to figure out what the heck you're trying to do, because you certainly don't … | |
Re: if you know how to create a tree you should know how to create one in Java. There's nothing that makes Java different from say C++ in that. And what exactly are you trying to do with a List when you want to make a Tree? | |
Re: anyone who cares one way or another has no business being in professional software development... | |
Re: The simulation won't require any display code, the display code won't require any simulation. While you may optimise the display code for specific data, it should never be mixed into the code that generates that data. | |
Re: it's not a bug in IE. Why the heck do kids always think their own incompetence is a "bug" in someone else's product? Quite simply you're almost certainly running into connection timeouts. | |
Re: maybe a grammar checker? You do seem to be in serious need for one. | |
Re: did you reboot after you plugged in that other mouse? PS/2 plug devices (which your mouse is) won't usually work until the power has been interrupted on the bus. If you have you either have 2 bad mice or you may have a faulty PS/2 bus or controller. As you … | |
Re: corporal punishmen is not just good for kids. Public whipping or caning could be a serious deterrent for minor crimes like pickpockets and jaywalkers. | |
Re: Germany, Denmark, Belgium, Luxembourg, France, Germany, Austria, Italy, Monaco, Hungary, Slovenia, Croatia, Czech republic, Slovakia, Romania, Russia, Ukraine, Kazakhstan, Uzbekistan, Turkmenistan, Georgia, Azerbaidjan, Armenia, Canada, USA (all the east, west, and south coast, plus Nevada, Idaho, Wyoming, Montana, and a few other states), Netherlands Antilles, Tunisia, Morocco, Turkey. | |
Re: hmm, our system has several thousand classes. Can't remember them all right now, but I seem to recall something representing a stock, a stockmarket, a stockquote, a trade, etc. etc. Maybe it's time to admit to your employer that you lied on your resume when you told them you were … | |
Re: but I seriously doubt he will (unless it is under another pseudonym trying to trick people into doing his homework some other way). |
The End.