5,727 Posted Topics
Re: If you set your environment correctly, just starting a new command prompt will do the trick. The environment setting changes aren't propagated to currently running applications, and that includes currently running command prompts. | |
Re: first step is coming up with your own idea. ANYTHING you didn't come up with yourself won't be new. | |
Re: Of course the very people who don't use code tags are almost certainly those people who won't read announcements either... | |
Re: The base class knows nothing about the existence of child classes, and should never even want to know. If you think you have such a requirement, you have a fundamentally flawed design. But most likely all you need are some virtual functions, which would make the whole thing happen implicitly, … | |
![]() | Re: determinate? Slip of the tongue there? :) A system like you describe would take hundreds if not thousands of hours to build for a team of several people if done right. Of course that would be a professional application rather than the highly simplified versions most homework assignments require, which … |
Re: Under the terms of your contract cracking that phone is a breach of contract, opening you to lawsuits. Anyone offering to do so for free or fee is engaged in what's effectively criminal activity, of course they're going to scam you, they're criminals. After your contract has run out, the … | |
Re: what a total crapload of FUD you're spouting here. 1) OpenSolaris is still free, it's an open source project out of (direct) control of Sun/Oracle (though they are the main maintainers of course). 2) Java isn't slow at all. Only idiot kids still think so who read too many 15 … | |
Re: [QUOTE=BestJewSinceJC;1191152]If the parent hasn't committed a crime, then they cannot and should not be charged with a crime.[/QUOTE] Maybe. But in some (many?) countries the parents are the legal guardians of their offspring and legally responsible for their actions. Thus the parents can indeed (and sometimes are) charged with the … | |
Re: [QUOTE=jephthah;1194971]i heard Fortran is the next New Thing[/QUOTE] phew, Fortran. Algol 60 is where it's at! | |
Re: we're not going to do your work for you. What have you done already, and what specifically do you have problems with? It's your project, so you'd better start learning about what you're supposed to do. | |
Re: [QUOTE=1manik;1194162]And do you know some solution? If yes, than you write me it please.[/QUOTE] no, we're not going to do your work for you. Read the rules, kid. Anyway, your own writings seem pretty random so just keep sitting behind that keyboard and hammer away at it. | |
Re: sounds like another attempt to create some kind of bot or clicker for an mmo... | |
Re: [QUOTE=vmanes;1193833]And they will say, "What were they thinking!?"[/QUOTE] hmm, will they even still understand the concept of "thinking"? | |
Re: Java sounds good too. It's no resource hog, if you know how to use it (just like C++ is a resource hog if you don't know how to use it). | |
Re: The program will eventually crash with an OutOfMemoryError. Should be a good enough end :) | |
Re: php is useless, it's in invitation to spaghetti code. Effectively such code is impossible to maintain, we call it write-only code. it's bad enough that people use it to create websites, don't make things worse by trying to push it into the application programming domain where it doesn't belong. You … | |
Re: still good advice (even if op probably never will read it, maybe someone else will). | |
Re: most likely. No doubt you're comitting the ultimate sin of storing everything in global (maybe even static) members of your servlet class, something that should rarely if ever be done with servlets. | |
Re: something else to keep in mind is never to take any advice from someone calling themselves a professional yet can't be bothered to check the timestamp on a question and tries to give an answer >3 years after it's already been answered. | |
Re: Carbon, hydrogen, oxygen, nitrogen, and some others are all needed to create paper from which boarding tickets are made. | |
Re: no. But when you go to that JSP you immediately create a new session :) | |
Re: There is no secret. Just years and years of hands on experience and a willingness to spend very long hours studying and practicing your skills. | |
Re: you can impress by doing it yourself, which will be a breath of fresh air from all the kids who just look up some ready made code on the internet and turn it in as their own. So no instant messenger, CPU scheduling simulation, airline reservation system, etc. etc. ![]() | |
Re: Don't think I'll be installing Visual Studio 2010. I don't use C++ or C# extensively enough to make the upgrade from VS 2008 Pro an economical one. And as I don't do development targetted specifically at Windows 7 there's no technical reason for the investment either. | |
Re: The instructions almost write it for you... ALL you need to do is translate them into Java code. If you can't do even that you should go back to the very first lesson you got and restart from there. | |
Re: Been there, done that, now generating pay slips for some 20.000 people. But not going to do your homework for you, do your own. Lazy schoolkids like you have no place getting passing grades and fouling up the job market. | |
Re: Create a hidden form field, and on clicking the button run a bit of Javascript that first sets a value to that field depending on which button it is, then submits the form. | |
Re: [QUOTE=satimis;1191542]Teach Yourself C++ in 21 Days [url]http://newdata.box.sk/bx/c/[/url] [/QUOTE] [url]http://norvig.com/21-days.html[/url] | |
Re: might be possible, but why do that at all when you could just use their web services API and call that directly, parsing the results? Search for it :) | |
Re: [QUOTE=Rashakil Fol;1187830]Making variables non-private is only an issue for public APIs.[/QUOTE] Assume ALL API specifications to be public, period. Protected (and even public) data members have their place, but that place is mostly to be found in performance critical situations where the extra overhead of creating call stacks for the … | |
Re: Without knowing how that answer was arrived at it is as worthless as the other sentences. In fact it's far less useful than the advice to try different distributions and pick the one that works best for you. Are they telling you to use ubuntu or fedora based on personal … | |
Re: how does asking nicely affect one's chances of getting an answer to one's questions? how does doing one's own homework affect one's chances of actually learning something? don't bother to answer here, we know the answer. But thinking over the answers would teach you a lot. | |
Re: now to change that code to actually match the coding standards. [LIST] [*]class names should be in CamelCase with a starting capital [*]method names should be in camelCase without a starting capital [*]all classes should be inside a package [*]etc. etc. etc. [/LIST] | |
Re: sounds like a career in management or marketing is in order. That's where all people who don't have a clue what they want end up. ![]() | |
Re: have your class Photo implement Comparable in some way. Read the JDK documentation (and especially the API documentation for the Comparable interface) on how to do that, as well as the Java tutorial and your instructional material your teachers told you to buy. | |
Re: Week 0: come up with a different product name. The name "Tetris" is trademarked worldwide and the owners are extremely agressive in enforcing that trademark, taking anyone using it without permission to court even if there's no commercial interest. | |
Re: [QUOTE=Tiger Woods;1190079]You can't pass an Exception to a method. The point of an Exception is to signal that something went wrong and to give the person who called the method the opportunity to deal with it.[/QUOTE] False yet true. You CAN pass an Exception to a method. In fact that's … | |
Re: if you can't even come up with your own project ideas, you deserve to not get that into that course. | |
Re: what error? Where exactly? Not going to read through hundreds of lines of code without at least a clear indication of what I'm looking for. | |
Re: or do something to get yourself a permaban (it's hard, but a lot of people do seem to manage). | |
Re: [QUOTE=bigdawgg;1189563]unfortunately thats not the case, the teacher gave us this problem and just told us to read a chapter that we never covered. The chapter she gave us is 9 chapters after the last chapter she covered with us, so reading it hasn't exactly helped. [/QUOTE] Good, so your teacher … | |
Re: [QUOTE=Ancient Dragon;1181500]A file can not be opened by merely giving fstream the path. It also need the filename. And use fstream's open() method. Search the net because there are billions of examples.[/QUOTE] The filename is part of the "location" of a file :) | |
Re: indeed it doesn't. There is no such concept as an "empty array" of primitives. Every element of an array is always initialised to something. In case of object types, that's null. In case of primitive types, that's 0 (zero). | |
| |
Re: [QUOTE=jephthah;1187575]something's not right, here. how are you gonna neuter a cat named "Betty" ? :S[/QUOTE] sex change operation? or maybe a hermaphroditic cat? |
The End.