5,727 Posted Topics

Member Avatar for sidesplitters

"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 …

Member Avatar for pulse
0
182
Member Avatar for gagaouz
Member Avatar for alc6379
0
100
Member Avatar for rick4324528

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.

Member Avatar for jerbo
0
104
Member Avatar for murphyshane
Member Avatar for murphyshane

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 …

Member Avatar for jwenting
0
102
Member Avatar for Ghost

your screaming you demand urgent help is enough reason to let your request sit for a few months before looking at it.

Member Avatar for jerbo
0
90
Member Avatar for dcving

it's also better to use a descriptive topic and not demand instant attention as that's extremely rude.

Member Avatar for jwenting
0
112
Member Avatar for nevets56

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 …

Member Avatar for mcclth
0
98
Member Avatar for Jackie001

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 …

Member Avatar for Jackie001
0
215
Member Avatar for crunchie

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 …

Member Avatar for Cain
0
147
Member Avatar for kendallniall

:= 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.

Member Avatar for jwenting
0
167
Member Avatar for caperjack

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 …

Member Avatar for caperjack
0
106
Member Avatar for nspireing

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 …

Member Avatar for caperjack
0
126
Member Avatar for onauc

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 …

Member Avatar for jwenting
0
113
Member Avatar for shantuli

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 …

Member Avatar for jwenting
0
165
Member Avatar for kisseric

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.

Member Avatar for kisseric
-1
134
Member Avatar for Arcueid

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).

Member Avatar for qweasd
0
198
Member Avatar for sweety engineer

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 …

Member Avatar for jasweb2002
0
144
Member Avatar for hexstar

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 …

Member Avatar for jwenting
0
203
Member Avatar for b3h_05

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.

Member Avatar for jwenting
0
133
Member Avatar for dontcare

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 …

Member Avatar for jwenting
0
172
Member Avatar for mattcplusplus

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 …

Member Avatar for Chainsaw
0
159
Member Avatar for JoBe

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 …

Member Avatar for JoBe
0
193
Member Avatar for crystalattice

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 …

Member Avatar for jwenting
0
128
Member Avatar for hexstar

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 …

Member Avatar for jwenting
0
146
Member Avatar for jamievmi2

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.

Member Avatar for jamievmi2
0
152
Member Avatar for smalltalk

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 …

Member Avatar for jwenting
0
154
Member Avatar for jifiii

so tell him you don't have the time to do his homework for him, just like we don't have the time either...

Member Avatar for harshchandra
0
111
Member Avatar for harshchandra

or just click on the Gooooogle adds that show up in this thread for a lot of hot deals in and about Hanoi :)

Member Avatar for harshchandra
0
269
Member Avatar for Dani

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? ;)

Member Avatar for Chainsaw
0
191
Member Avatar for rick4324528

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...

Member Avatar for jwenting
0
73
Member Avatar for gradstudt

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 …

Member Avatar for jwenting
0
100
Member Avatar for onauc

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 …

Member Avatar for jwenting
0
88
Member Avatar for arashsamim

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...

Member Avatar for jwenting
0
102
Member Avatar for onauc

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 …

Member Avatar for onauc
0
122
Member Avatar for Alfy

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 …

Member Avatar for Alfy
0
147
Member Avatar for server_crash
Member Avatar for onauc

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. …

Member Avatar for onauc
0
122
Member Avatar for dh0licious

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.

Member Avatar for dlh6213
0
230
Member Avatar for rishiraj_bayerd

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.

Member Avatar for jwenting
0
71
Member Avatar for sss666
Member Avatar for ld834

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 …

Member Avatar for ld834
0
103
Member Avatar for Der_sed

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 …

Member Avatar for vegaseat
0
188
Member Avatar for Vinay

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 …

Member Avatar for dlh6213
0
177
Member Avatar for Domainstop

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 …

Member Avatar for alc6379
0
96
Member Avatar for paradox814

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 …

Member Avatar for jwenting
0
108
Member Avatar for Dounia

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.

Member Avatar for Dounia
0
170
Member Avatar for MrScruff

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 …

Member Avatar for jwenting
0
283
Member Avatar for Eclipse

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? …

Member Avatar for jerbo
0
159
Member Avatar for George2

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). …

Member Avatar for George2
0
144

The End.