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...
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...
or just click on the Gooooogle adds that show up in this thread for a lot of hot deals in and about Hanoi :)
do you know how to use interpunction?
your ramblings are completely incomprehansible.
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 that I may well become abusive if noone does this so you'd better hurry as I need it NOW!!!!!
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 that's not the core language.
Same with the debuggers and editors, those are not the language but (merely) tools supplied by the compiler creator (or a third party in which case they may work with many compilers) to make life easier.
C++ isn't an extension of C per se either. It's a new language building on C which happens to accept (most) C source as valid code for itself.
If you don't know who created the language or why it's not called C+ those questions are both answered on the website of the language creator which is here: http://www.research.att.com/~bs/C++.html
I can tell you the name is effectively a bit of a pun :)
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...
so tell him you don't have the time to do his homework for him, just like we don't have the time either...
if you can't explain what you need/want to do how can you expect us to tell you how to do it?
crackers don't deploy anything. They just break into already deployed systems and destroy them (or corrupt them to such an extent that the original owner doesn't know he's no longer in control yet has given over complete ownership to the cracker).
Most are script kiddies who use tools that were created by a few others with little or no understanding of what those tools actually do. All they see is a list of machines they've compromised which they can then click on to do something to those machines (typically for script kiddies that's just mischief, but the more adventurous will turn them into zombies for DDOS attacks and/or spam and virus email distribution which they'll then sell to spammers and virus creators, again using tools written by others which they won't know the working of, only the result).
There are relatively few crackers with the knowledge to create the tools that the majority use, and even less of them who build such tools for the use of anyone but themselves.
That's as far as my knowledge of the underground goes, I try to keep far away from them.
what you are describing are cracker tools, not hacker tools.
Despite the media mislabelling crackers as hackers there's a huge difference.
Most crackers couldn't hack if their lives depended on it.
A hacker is a creative person, often with a rather geeky dry sense of humour. A cracker is purely destructive.
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 of the struct rather than the struct itself.
Depending on your experience with a language you can often make things look harder or easier than needed.
How would the uninitiated determine whether a language is "easier" than another? By looking at some sourcecode?
If so everyone would use Cobol or Basic as those have very simple structure and syntax.
You say you decided on php because it looks simpler than does Perl. And indeed it does. But that simplicity brings restrictions. There are many things Perl can do that php cannot, you can't compare them.
For someone with no programming experience at all Perl is indeed not the way to start, but that should not be a reason to diss Perl completely (there's enough valid reasons for that :) ).
You'll also find if you're serious about learning programming that you won't stick with one language for long and that over time you're picking languages for projects based on the project requirements.
After a few years you'll have picked up a veritable dictionary of languages.
From the top of my head, I've used the following (for example) over the course of my career so far (in no particular order):
IBM Basic
QuickBASIC
Visual Basic
WordBASIC
Pascal
Object Pascal
Delphi
C
C++
Java
Cobol
Fortran
Python
Ruby
REXX
Unix shellscripting
DOS batchscripting
Javascript
VBScript
VBA
ECMAScript
CSS
X86 Assembler
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 show where on screen.
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. Sun refused to allow Microsoft to ship any JVM newer than 1.1.6 with Windows, Microsoft retaliated by stating openly (and who's to blame them?) that they're not going to ship a 5 year old JVM that's 10 versions out of date and so they removed it completely (they, being nice, did keep the ability to install a JVM as a plugin). Many Linux distros out of religious zeal don't ship anything that's not open source as they define it (never mind the full source for the JVM including the compiler is available at no cost).
3) you'd need to include a complete JVM inside the browser source. It can possibly be done but it's a lot of work to write one from scratch (and you're not going to steal someone else's code are you?).
As to what sections of the code pertain to the HTML, JS, etc. parsers and interpreters, that clearly can't be answered by someone without perusing the source code.
As you seem to have that sourcecode and think you're smart enough and have enough time to build a complete JVM into it you should be able to find the relevant code sections …
Poorly configured HTML email will do this.
What you see is an attempt to render the HTML as plain text.
Not your problem, and most such bad clients are associated with mass mailers more normally used by spammers than legitimate businesses (though some use them for mailing lists).
hmm, probably xamp installs a webserver of its own when running...
If you didn't know about this, that's nasty. Anyone know what it exposes to the world?
To run php in Apache you need a plugin (mod_php I think it's called), on its own Apache doesn't know heads or tails about php and will just serve the sourcecode as plain text.
not which method, which line.
If you know exactly (to the line) where the exception occurrs you will probably be enlightened as to the cause.
Not to forget C, Assembler, Python, Cobol, Fortran, Ada, VB (shudder), Delphi :)
Has anyone ever counted all languages? O'Reilly has a poster of 50 influential ones at http://www.oreilly.com/news/languageposter_0504.html which claims that there are over 2500 in total.
That poster is over half a year old, there's bound to be more of them now.
You can read any file you want. The tricky part is decoding the data in it.
try http://www.wotsit.org for information on the file format, good chance it has some.
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.
Remember that doing what you intend could well be viewed as data theft and/or a violation of the terms of service of the site.
You are effectively bypassing whatever mechanism the site has (usually sponsorship through advertising) in ripping the information.
Before you bring any such service live be sure to get permission from the site owners.
and which line throws the exception?
What I've noticed is that we've grown bigger and stronger, perhaps smarter, than people from 1900's :!:. What did we do the last 50 years? We made from a 2 meter computer this little pc that sits in front of us! I mean it took us 32 million years just figuring out that standing up can be a good thing. What do ya think will happen in another 50 years?..... :rolleyes:
Kids will spend so much time in front of a screen that they'll forget how to stand up, reverting evolution back to 32 million years ago :cheesy: :sad:
What I'm amazed at is how a 6 year old knows more about configuring Windows than her parents. I went to my friend's house and her cousin knew more about computers than when I was 14. Yikes!
When I was 14 I'd never seen a computer...
It was around that time my father got an original IBM PC Portable from work so he could take it with him to customers to show how modern they were (he didn't even have a desktop system at work at the time, only a dumb terminal to the mainframe he didn't know how to turn on).
Because of his hernia he couldn't lift the thing, so it more or less became mine.
That's when I learned programming, in IBM BASIC 3.2 (I still have the original manuals, dated 1986, it lists commands that are valid for casette tape equipped machines only...).
We had no printer, so the computer wasn't that useful for what it was intended for (word processing and spreadsheet work on its build-in 5" mono screen). As a result I typed my school reports (those that weren't required to be handwritten) on an IBM electrical typewriter (the one with the ball) after the mechanical machine broke down that my parents had owned since before I was born.
Gosh I start to feel old.
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 want why not use them :)
Good time to scrap Norton and go for a reliable product...
Try McAfee or Kaspersky.
This isn't a tutorial...
yup, one should always practice what one learns. Otherwise the knowledge will disappear quickly (this is why cramming for exams doesn't work, you may pass the exam but you will never retain the knowledge).
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.
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? ;)
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 is all about.
Sounds to me like just another first person shooter with a kind of campaign mode, something we have a million releases a year of already.
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 while you're at it follow the Java class naming conventions and
1) name your class in CamelCase, starting the name with a CAPITAL letter
2) use packages. While not a problem yet there are many uses where things don't work well unless you use a package.
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 loop both are found to contain \r the loop will terminate.
When there's only 1 \r, one of the conditions of the while will be false and the other true.
true || false == true as is false || true.
Only false || false results in false.
Run the program in a debugger if you wish to confirm this :)
no, it has to do with the substring function. Check the arguments and see what would happen if you passed those...
StringBuffer is far more efficient than concatenating Strings. You use far less memory and CPU time.
Remember that Strings in Java are immutable.
If you do a = a + b where a and b are Strings it will not concatenate b to a, it will create a new String which is a and b concatenated and then assign that to a.
The concat() in String works the same way.
You probably tried to do a.concat(b) (where again a and b are Strings) and were surprised that a hadn't changed?
If you keep in mind that String is immutable that becomes obvious. What you did was create a new String consisting of a concatenated with b and then throw that String away.
Had you done a = a.concat(b) it would have worked but then you could just have said a = a + b which has the same effect and is highly inefficient if you do it a lot to the same String.
Integer.parseInt(String) will do the reverse of what's intended, it turns a String into an int.
Integer.toString(int) will turn an int into a String but won't create the String combination of integers with spaces interspersed.
It's also not needed in this case.
When not using Tiger simply iterate over the array and add the individual elements to the String with spacing like this
StringBuffer buf = new StringBuffer();
buf.append(iArray[0]);
for (int i = 1; i < iArray.length; buf.append(" ").append(iArray(i++)));
String encoded = buf.toString();
Double the code of the Tiger implementation :)
Use what you prefer, under Tiger both are valid.
Haven't timed either, the StringBuffer implementation might be slightly faster and/or use less memory (especially in the String constant pool) which might make it the preferred choice for devices with severe memory restrictions.
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 String.
int[] iArray = null;
// code to fill the array goes here...
String temp = Arrays.toString(iArray).replace(", ", " ");
String encoded = temp.substring(1, temp.length()-2);
As you see 2 lines of code do the trick of turning your array into a String which is formatted to your liking.
I've deliberately included a small error for you to fix in that code. You should be able to find it rather easily ;)
clrscr() is a custom extension introduced by MSC.
get yourself to a bookstore and order a copy of
1) Accellerated C++ by Koenig and Moo
and
2) The C++ Programming Language 3rd edition by Stroustrup
You might also want to pick up
3) C++ in a Nutshell by Lischner
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?
Once you know that you can start designing your code around that knowledge.
The description is quite exhaustive. I suggest you read it and try yourself while waiting for someone to write your code for you so you can in the last 5 minutes before your homework is due slap something together which has a passing chance of coming near to working because noone is going to write your code for you.
Why don't kids today even TRY to do their own assignments?
tx alx, i culdnt ha sd it b8ter mself
If you create a constructor with parameters it is NOT mandated you create one without parameters.
I wonder where you got that idea?
Also, a default no-argument constructor is created if and ONLY if there is NO other constructor at all. The compiler will not add it if a constructor with arguments is available.
Are you sure the library is built for your compiler?
You might have to build it from source first if it was compiled against another compiler (version).
true. I meant "the compiler will accept it" :)
Just like the compiler will accept you to write code that writes outside its memory space but doesn't shield you from the consequences.
Start from the beginning, and start coding.
You learn little from reading code, you got to get your hands dirty.
Type in those examples (most books have short ones), see what they do and play around with them.
Change them around to see what happens, apply that knowledge the book is trying to give you.
In Java you would write .4f to force the floating point literal into a float instead of a double datatype.
Don't think C++ works like that.
To prevent duplicating the responses you got at cprogramming.com, I advise you to check out your thread there where your questions have been answered in considerable detail.
http://cboard.cprogramming.com/showthread.php?t=58702
get a faster connection?
or connect to a faster server...
Don't believe in any of those "internet accellerator" programs you can buy, they're all scams and snake oil that have no effect whatsoever.
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.
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 technologies.
A web app IS a client/server application effectively, except the client is itself an application that massages and prepares the data for display to its own clients.