- Upvotes Received
- 2
- Posts with Upvotes
- 1
- Upvoting Members
- 2
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
22 Posted Topics
The trouble with the world is that the stupid are cocksure and the intelligent are full of doubt. --Bertrand Russell
When you've made a button, or any other element, you can attach an event listener to that element, by right-clicking the element you've made (e.g. button), and you can choose what kind of event listener you want to attach. Then netbeans will automatically generate a method (event handler) associated with …
The input of the program is only the amount? You can do it with integer division and the mod operator.
[QUOTE=pareshverma91;1362649]---is it possible to write a single file of code, i mean, normally a whole project folder with main code in one file, some list in other and so on are created. Does netbeans provide an option to build a single file project ( something similar to write a code …
Hi all. I'm new to Javascript, and I want to ask about the best placement of the script tag. For example, I have an external Javascript called [B]test.js[/B], which assign event listener with addEventListener function. The question is, where should I put this [ICODE]<script type="text/javascript" src = "test.js" />[/ICODE]? I …
Check out [URL="http://www.1keydata.com/sql/sql.html"]http://www.1keydata.com/sql/sql.html[/URL] for comprehensive sql syntax.
Your second for loop has no curly braces. Is it a compile-time error?
[QUOTE=aukeebler;1286346]What did I do wrong? It won't does not work for my choices... [code] #include <iostream> using namespace std; //function prototypes void displayMonthly (double[]); void displayTotal (double[]); int main() { //declare variables and array int choice = 0; double rainfall[12] = {0.0}; //get rainfall amounts for (int x = 0; …
Please write your code in the code-tags. I don't see anything is wrong. What do you want to do with this method? You made a method that returns -1 if n > 12. So you can't compute the factorial when n > 12.
[QUOTE=jemz;1273911]i have an error saying n might not have been initialized[/QUOTE] It means you have to initialize the variable [I]N[/I]. Like: [icode]int n = 5[/icode]
[QUOTE=djenoe;1274160]i cannot make it work,,[/QUOTE] What do you mean by you can't make it work? Can you compile it? If not, what's the error messages? And please post code using the CODE tags.
iterate through the string, and convert each character into an integer. Then you can find the sum of the integers.
You forgot to declare the paramaters' type in the getadded() method in class TWO. You have to write something like this: [CODE] public getadded(double test, double test2) [/CODE]
I've been noticing strange behaviour on my OS. Every time I try to connect to the internet using a modem, or trying to update my java runtime, it pops up a message saying that I have an error credssp. dll. What does that mean? Is that error has any bad …
Abstract class have similiar functions as Interface. They're useful in inheritance and polymorphism. Read the java tutorial about [URL="http://download.oracle.com/docs/cd/E17409_01/javase/tutorial/java/IandI/abstract.html"]Abstract Class[/URL] for more info.
use a language that can be compiled. Distribute the executable binaries only.
my question is simple. Can I delete my daniweb account or change my username?
you didn't declared the disposition, temperament, and colour variables
Hi everyone. I just wanna ask: what's the difference of TeX and LaTeX? Please help me..
Hi. I'm new to java programming. I have some questions: 1) Does every java source code's [B]class name[/B] (the name after the [I]class[/I] keyword, e.g. [I]class[/I] [B][I]Hello[/I][/B]) has to be started with an uppercase character? 2) Does the java source code's [B]file name[/B] (e.g. [I][B]Hello[/B][/I].java) has to be [U]exactly[/U] the …
hi. I'm a newbie in shell scripting as well as the *nix OS. I just wanna ask about the symbol [B]#![/B] that I saw in many shell script examples. For instance, [ICODE][B]#![/B]/bin/bash[/ICODE]. What does the [B]#![/B] symbol means? What's the meaning of [B]$1[/B], [B]$2[/B], [B]$3[/B] symbols? and what does the …
Is there a ported version of GNU Make for windows? Is MinGW Make = GNU Make? Please help me..
The End.
PatrixCR