5,727 Posted Topics
Re: "start your own business sending email" :) Wouldn't advise it of course but a lot of people seem to fall for it... Other searchengines have similar programs to adwords and sponsored links. By now paying is just about the only way to ever come up in the first several pages … | |
Re: read the posting guidelines and next time start earlier on your assignments. | |
Re: what do you mean "move between methods"? You want to call one method from another? Check your textbook, see those braces? Learn the language syntax and all will become clear, or at least clearer than it is now. | |
Re: at least the exception will be handled :) | |
Re: a) consider bytecode like an obj file for C or C++ with the JVM being the linker. Not quite what happens but close enough to start with. b) if your book doesn't talk about that get a better book. c) that's OS specific. What you type gets translated by the … | |
Re: your screaming you demand urgent help is enough reason to let your request sit for a few months before looking at it. | |
Re: it's also better to use a descriptive topic and not demand instant attention as that's extremely rude. | |
Re: when you read the file, you read it line by line I guess? What's a special characteristic of a blank line? Hint: it has to do with the number of characters on it after stripping whitespace. What's a vowel? How can you detect it? When you know that all you … | |
Re: It all depends on what technologies you're using. Will both apps call a common layer to access the database and retrieve/write information? IOW, will all businesslogic be identical? Because if you don't do that you will be really measuring the differences between different database access technologies and not the client … | |
Re: It's simple: that advertising pays for the movie. If it weren't there that DVD would cost you a lot more. A typical movie will retrieve over half its production cost from sponsorship (read advertising). If customers can just skip that advertising the advertisers will go running to other media like … | |
Re: := is a Pascal construct, Java uses = (so no :). a, b, cc aren't defined anywhere. Compiler won't like that either. You're trying to assign a value to a final variable. Depending on the types you give a, b, and cc you will get other errors or not. | |
Re: LOL. It's not a new browser. It's merely a new shell around IE, a skin if you like. That's the power of IE, you can incorporate its functionality in nearly any application you like. Along the lines of this product you have an alternative to IE built right into Windows … | |
Re: don't try to hijack other peoples' threads macman. It's rude. as to SP2, better get used to it. After SP1 was released there were a lot of people who screamed they would never install it. Those same people were the ones who afterwards screamed that Windows was so full of … | |
Re: All self-respecting C compilers from about 1985 onwards and all selfrespecting C++ compilers from about 2000 onwards (give or take a few years in each case) will support AT LEAST the same common set of functions as defined by ISO/ANSI. On top of that each will come with a set … | |
Re: if you hadn't said it was urgent I might have taken the time to help you along. Claiming your problem is urgent is rude, it implies you consider yourself to be more important than anyone else here which you're not. But I'll be nice and give a hint :) Look … | |
Re: post your code properly using code tags rather than in huge coloured fonts and someone may bother to look at it and succeed without getting a headache. | |
Re: Do you have Google desktop installed? That will eat up harddisk space rapidly as it caches everything it recognises even somewhat (effectively doubling your storage requirements). | |
Re: Write down in words what the program should do in detail, then translate that into code. If you know modelling tools, you can use those too. Make things like state transition diagrams, flow diagrams, etc. It doesn't really matter, but understand what the code should do and how you want … | |
Re: Why would anyone donate money to you for your new computer? Did you donate money to any of us when we wanted a new toy to play with? If it's for a company website the company should pay. If they don't have the money they should go to the bank … | |
Re: also: asking for private help in a public forum is rude. Help is given so everyone can benefit from it, that means we're not going to send you an answer as an email. | |
Re: I see you haven't yet grapsed the concept of encapsulation of data. Why do you keep your months, years and days outside your class? Wouldn't it be a lot better to have an array of dates instead of 3 arrays of the parts of that array? That would enable you … | |
Re: no you can't. It just means the number is undefined. You're declaring an array of 3 arrays. The number of elements of each of those 3 arrays is unknown at this time but will have to be fixed at some point. It doesn't even have to be the same number … | |
Re: and as to sorting, use the STL for that. Put your strings into a list and call sort on that (though your teacher may want you to write your own sorting function, he should have told you specifically if he doesn't want you to explore and find out that the … | |
Re: Look at the error and tell why it has anything at all to do with map<T>. It says you failed to define operator<< for your enumeration class. P.S. don't post your source as attachments if you want us to look at it. Take the relevant parts and paste those inside … | |
Re: you can pick up my old P200 for free and use that as a webserver... You'll have to drive over and pick it up though :) JB 3.5 is useless. It doesn't support hotplugging compilers and the compiler that comes with it is years out of date (as are the … | |
Re: personally I'd use a switch statement where you use an if statement. With just a few options it doesn't have significant impact but when things get more complext it greatly enhances readability. | |
Re: English isn't Latin. Sentences are allowed to be less than 3 lines in length. Divide up your problem, word it so you can make it understood what you're trying to do. And no, we're not here to build your code for you. That's your job. We CAN help you find … | |
Re: so tell him you don't have the time to do his homework for him, just like we don't have the time either... | |
Re: or just click on the Gooooogle adds that show up in this thread for a lot of hot deals in and about Hanoi :) | |
Re: Muaha. Dani didn't ask for anyone to do her homework, only for hints to get started :) Anyway, it's now almost 6 hours later and still nothing to show? ;) | |
Re: Check out the documentation for netbeans 4, it should all be in there. the doing away with that idiotic "mount filesystem" is the best thing they ever did with netbeans... | |
Re: let me translate: my teacher has told me to create a C++ program using arrays that simulates a tollbooth. As I'm too lazy and stupid to write it myself (I'd rather play Doom3) I post the question on the web and wait until someone does my homework for me. Beware … | |
Re: There is only 1 C++ and 1 C (at least if you mean the standard). There are many compilers for those languages but they all accept the same basic source code. If you mean the additional libraries that come with those compilers, yes there are many differences between those but … | |
Re: so what's the problem? Don't you know how to use a conditional statement, a return statement, or what the condition should look like? I'm not going to open your attachment, follow the guidelines for posting code and maybe I'll have a look... | |
Re: 1) get some good books on compiler design and algorithms. 2) as many as your operating system will support OR as many as the image file has encoded into it, whichever is smaller. The display functions are handled by the operating system, the browser just tells the OS what to … | |
Re: you use the pointers for efficiency. This way you are passing just a memory address where the struct can be found rather than the struct itself. As a side effect you can directly manipulate the content of the struct which would otherwise be impossible as you'd be passing a copy … | |
| |
Re: 1) the browser interprets certain HTML tags as meaning it should launch a plugin and pass the rest of the information contained in that tag to the plugin. This is what happens with Java and Flash as well as several other less common ones. 2) legal and religious issues mostly. … | |
Re: probably in the Services applet in the configuration screen (admin section). If not there may be a settings program that comes with your sound drivers. | |
Re: You can read any file you want. The tricky part is decoding the data in it. try [url]http://www.wotsit.org[/url] for information on the file format, good chance it has some. | |
Re: Better way: Use a Map with a String representation of the name. As the values store Lists of magnitudes. Then you can just do ((List)map.get(name)).add(magnitude) for each record. You can't increase the size of arrays so using other data structures is a requirement. As Map and List have what you … | |
Re: because you need to enter 2 newlines before the condition is false. when you enter just 1, ch will have been read but the program is still waiting for input to the sold parameter. Only when that's filled as well will loop processing commence. When at the end of the … | |
Re: isn't that the case of all such sequels? I'd never even heard of Halo, let alone Halo2, until reading about it here (might come from not owning an XBox or from having little interest in games apart from a few I own already) but I don't see what the hype … | |
Re: something like [code] public class MyHomeWork { public static void main(String[] args) { System.out.println("Someone else did my homework for me, I'm a lazy no-good idiot!"); } } [/code] ??? Because that's what I'd send people who ask me to do their homework for them (maybe scrambled so it's not so … | |
Re: Floating point literals in Java are always of type double unless you take care to tell the compiler they're of type float. Double is a 64 bit floating point number, float is a 32 bit number. Either change the type to double or change the initial value to 0.0f And … | |
Re: So? Use the proper constructor. Do some of your own thinking man... You called a function on your variable c while that variable was not initialised, that was the message. | |
Re: OK, let's say you have an array of integers called iArray, and you want to print this to a String tokenised with whitespace. If you're using the latest JDK (5.0, 1.5, Tiger) it gets very easy as there's a new built-in function to turn an array of ints into a … | |
Re: It is. But you didn't even tell what the problem is. Do you want to determine values of R for which a given P will yield a stable population? Or maybe values of P for which a given R will yield a stable population? Or what exactly do you want? … | |
Re: join will make one thread wait until another completes. You can chain this (by having a joined thread join another thread itself), but it gets tricky (and if you do, why use threads at all as you're effectively moving away from concurrent processing and back to a linear application flow). … |
The End.