775 Posted Topics

Member Avatar for frogboy77

[QUOTE]I am becoming annoyed at the amount of responses on this site saying (something along the lines of) "This thread is 5 years old, please leave it alone.".[/QUOTE] I am more annoyed about the replies 5 year old threads get... Because They're usually a question made by a newbie not …

Member Avatar for diafol
1
232
Member Avatar for pwolf

[URL="http://lmgtfy.com/?q=recursion"]Is searching too hard for you?[/URL] If you have a problem understanding a concept you could post that here and thats where we come in and help you understand or clarify things.

Member Avatar for TrustyTony
0
214
Member Avatar for programmer2112

It will give us a better idea if you could post your current code here or are you just asking for suggestions on this?

Member Avatar for yongj
0
178
Member Avatar for Ashenvale

TaxDeduc method does return a value but you dont seem to properly call the method itself instead in your main method the variable is assigned as a float these links should help you [URL="http://www.tutorialspoint.com/java/java_methods.htm"]http://www.tutorialspoint.com/java/java_methods.htm[/URL] [URL="http://www.wikihow.com/Call-a-Method-in-Java"]http://www.wikihow.com/Call-a-Method-in-Java[/URL]

Member Avatar for Ashenvale
0
159
Member Avatar for furqanishaq

[QUOTE]get the error messages and post them here[/QUOTE] either that or post all of the contents of the codes

Member Avatar for zeroliken
0
127
Member Avatar for nicolemarie
Member Avatar for frogboy77

[QUOTE=Ancient Dragon;1753100]Why? You (or another mod) is going to delete the post anyway, so why bother?[/QUOTE] The comment will stay in the reputation page of the profile as a bitter reminder of the sin the spammer committed

Member Avatar for zeroliken
0
104
Member Avatar for vic s

You made Duplicate posts at the [C](http://www.daniweb.com/software-development/c/threads/410449") and [C++](http://www.daniweb.com/software-development/cpp/threads/410448) forums and I received 3 private messages from you with the very same topic You could have just made a single thread and waited patiently for a response from one our members @AD there's a [ at the end of your …

Member Avatar for Labdabeta
0
153
Member Avatar for fsemilla

that user hasn't logged back on since July 15, 2010 so good luck getting a reply

Member Avatar for agieli
1
2K
Member Avatar for n4j
Member Avatar for steven8579

[CODE] while (i >= 0) { if(i == 0) { list[i] = value; } else { list[i] = list[i-1]; list[i] = value; i--; } }[/CODE] once i becomes 0 at this loop its value will remain 0 because it will always pass the if statement which doesn't change the value …

Member Avatar for JamesCherrill
0
382
Member Avatar for modesto916

initialize the values of your strings like so [CODE]char string1[50] = ""; char stringInvertida[50] = "";[/CODE] then use fgets in receiving a input instead of using gets [URL="http://www.gidnetwork.com/b-56.html"]here's the reason why[/URL]

Member Avatar for modesto916
0
166
Member Avatar for Torf
Member Avatar for JamesCherrill
0
967
Member Avatar for Ich bin würdig

If you started the thread, there should be a "Mark as Solved" link below the last post. though its ok if you don't really wanna mark this one as solved since me and the other member would get a +1 solved thread without actually helping you... but hey that's up …

Member Avatar for zeroliken
0
117
Member Avatar for shanki himanshu

[CODE]char a[100000];[/CODE] maybe you meant to use an array of integers since your just using numbers?

Member Avatar for DJSAN10
0
75
Member Avatar for Karlwakim

Didn't [URL="http://www.daniweb.com/community-center/it-professionals-lounge/threads/404871/1730284#post1730284"]this post[/URL] helped you already?

Member Avatar for bradd.weyand
-1
88
Member Avatar for kmlila
Member Avatar for Vampiricx3

[QUOTE] I want the "Add To File" button to be full length (across the GUI)[/QUOTE] do you mean that you want to edit the button size? if so you can use this to change the button size ButtonName.setPreferredSize(new Dimension(buttonWidth, buttonHeight));

Member Avatar for zeroliken
0
178
Member Avatar for darshilpatel34
Re: C++

Put the numbers in a 2d array (if you haven't done this yet) then add each element according to their index using a loop and lastly divide it by the total number of items same method can be applied in getting the average of grades across or from up to …

Member Avatar for WaltP
0
159
Member Avatar for engineern

remove the semicolon ; on line 45 and write an else statement inside the [CODE]else if (genderType=='f' || genderType=='F')[/CODE] statement after the last else if statement inside it if you want a default output if the name's is not equal either the if and else if statements after it [QUOTE]i …

Member Avatar for engineern
0
181
Member Avatar for DevNet

[QUOTE]but I don't know how to loop back again to my "main screen" after an action has been done by the user. [/QUOTE] You could simply put the whole menu in a while loop that runs while choice is not equal to 4(the exit in your code)

Member Avatar for rushikesh jadha
0
169
Member Avatar for emidevil

[CODE]public Thread1(String name, int len, String a[], String b[]) thr[0] = new Thread1( tt , baseLength, aa, bb);[/CODE] A String cannot be converted to a String[] by method invocation conversion

Member Avatar for DavidKroukamp
0
574
Member Avatar for debasishdeb
Re: java

you need to put the main method and all your methods inside your public class [CODE]private Container getContentPane() { throw new UnsupportedOperationException("Not yet implemented"); } } [/CODE] the last bracket here ends your public class and don't put ); after the end brackets *next time wrap your code in code …

Member Avatar for zeroliken
0
132
Member Avatar for ram619

The ascii value of [COLOR="red"]E[/COLOR] is 69 and [COLOR="red"]A[/COLOR] is 65 so more or less the its like [CODE]printf("%s",p + 69-65);[/CODE] when simplified it will look like [CODE]printf("%s",p + 4);[/CODE] this will print out the characters from 2 up to 1 (2011)

Member Avatar for ram619
0
119
Member Avatar for ddm

[QUOTE=ddm;1749513]This is my work but I believe I did it wrong 1 { 2 int rNumb[50]; 3 input (rNumb); 4 output (rNumb); 5 } 6 int input (int x[]) 7 { 8 int i = 0; 9 srand(time(0)); 10 for(int i=0; i<50; i++) 11 x[i] = rand()%100+1; 12 return x[i]; …

Member Avatar for ddm
0
219
Member Avatar for laklaker

[QUOTE=laklaker;1746309]Why so hard? :([/QUOTE] Actually stultuske's post is suppose to make the program a lot easier to handle and use which part are you having problems understanding?

Member Avatar for JamesCherrill
0
471
Member Avatar for DJSAN10

Do you want the name to be related to the product or service of the software company? :)

Member Avatar for DJSAN10
0
198
Member Avatar for jackbauer24

Did you check the Oracle docs? [URL="http://docs.oracle.com/javase/tutorial/java/javaOO/nested.html"]http://docs.oracle.com/javase/tutorial/java/javaOO/nested.html[/URL] [URL="http://docs.oracle.com/javase/tutorial/java/javaOO/innerclasses.html"]http://docs.oracle.com/javase/tutorial/java/javaOO/innerclasses.html[/URL]

Member Avatar for DavidKroukamp
0
135
Member Avatar for dineshswamy
Member Avatar for jaymayne

Could you explain your problem and your code more clearly... What exactly is the output you want to achieve? Can you give us an idea of what you want to do next or are you asking for suggestions for what to do next?

Member Avatar for zeroliken
0
257
Member Avatar for Xenix-Hero

at the function at Line 142 , the bracket after return 0; ends just the while loop resulting in main and other functions inside the function at said line

Member Avatar for Xenix-Hero
0
2K
Member Avatar for ram619

you could also try to print out the value of i while incrementing it to see the changes that happens and its current value for yourself

Member Avatar for ram619
0
213
Member Avatar for hust921

I suggest to deal with the errors netbeans found before trying to run it [QUOTE] @override[/QUOTE] Read this and maybe search google for more info [url]http://stackoverflow.com/questions/561365/what-is-override-for-in-java[/url] [QUOTE](btw i have no idia what static and final means)[/QUOTE] Still the same,If you doubt their purpose or use you can always search the …

Member Avatar for zeroliken
0
136
Member Avatar for arold10

[QUOTE]Well, I keep moving the code blocks around. It does not work.How do I change the gallon variable since all I can do is Input number. Gallon does not have a specific value that is assigned to it.[/QUOTE] [CODE] printf( "Enter gallon used (-1 to end): " ); scanf( "%d", …

Member Avatar for zeroliken
0
154
Member Avatar for andur92

[QUOTE]//Can I use new keyword with the abstract class? [/QUOTE] no you can't create an instance of them.Instead, you have to subclass them and create an instance of your subclass. Kinda like what you did

Member Avatar for mani-hellboy
0
205
Member Avatar for macdunk11

[QUOTE]The players can play where other players have already played. I tried to use the switch statement at the bottom in method checkMove where if result == false, that spot is taken. But of course, anyone can see that that will not work. [/QUOTE] Use a loop instead of just …

Member Avatar for hiddepolen
0
597
Member Avatar for cwarn23

I am working on a project in c programming and relearning how to use malloc()

Member Avatar for pseudorandom21
0
396
Member Avatar for deathmagnetix

And why aren't you allowed? well you could use a loop that only runs once but that would be bad programming even it solves the problem but hey

Member Avatar for deathmagnetix
0
1K
Member Avatar for Joeeb22
Member Avatar for stultuske
0
490
Member Avatar for John Paul Carlo

[URL="http://www.daniweb.com/forums/announcement8-2.html"]http://www.daniweb.com/forums/announcement8-2.html[/URL] Sorry but this is not a forum where we provide code Make an effort and show your code if you need help with it

Member Avatar for WaltP
0
989
Member Avatar for befigard

Maybe this article on using a Toolkit method, getImage() might help you out [URL="http://www.particle.kth.se/~lindsey/JavaCourse/Book/Part1/Java/Chapter06/images.html"]Link to Article[/URL]

Member Avatar for emclondon
0
139
Member Avatar for rpittala

Are you trying to make a number guessing game like program cause that's the only logical thing I interpreted from what you just posted

Member Avatar for zeroliken
0
52
Member Avatar for drico7041

[QUOTE]What method would I use in order to count the numbers in the output... Like how many 1's and how many 2's etc. etc.[/QUOTE] Wouldn't it be much easier if you add 1 to a counter exactly after the generated number [CODE]//your number generator code for (int i = 1; …

Member Avatar for drico7041
0
185
Member Avatar for shotokanpoloto

following songokute's post, they're already in an array of strings(for every line that is) you could use a loop to check [CODE]for(int i =0; i < State.length ; i++) System.out.println(State[i]);[/CODE]

Member Avatar for shotokanpoloto
0
224
Member Avatar for dineshswamy

[QUOTE]but sometimes it encounters segmentation error.[/QUOTE] On what part does the segmentation fault occur?

Member Avatar for zeroliken
0
134
Member Avatar for TrickyT

It doesn't show any of those errors when I try to compile it in netbeans 7.1? maybe you could try printing it like this [CODE]System.out.println( "For the Department " + departName ); System.out.println( "With this number of employees " + employees ); System.out.println( "And with this average salary: " + …

Member Avatar for TrickyT
0
144
Member Avatar for Momiji Sohma

When you use a variable without passing it by reference to the function doesn't give it a new value when you return to main for example: [CODE]printf("The new salary is %.2f\n",sum);[/CODE] You never assigned a value to sum at main just because you assign a value to it from a …

Member Avatar for zeroliken
0
128
Member Avatar for jackbauer24

[QUOTE]"I WANT TO MAKE SOFTWARE![/QUOTE] What kind of software does he want to make?

Member Avatar for jbennet
0
553
Member Avatar for jeffw362

[QUOTE]but when I call the list function the names aren't right but the ID and mark data is correct. For the list function all I do at the moment is print each member in all the structures. [/QUOTE] Then could you post the list function

Member Avatar for nezachem
0
238
Member Avatar for scheppy

[QUOTE]simple way to check if a JButton is not Enabled[/QUOTE] isEnabled() would return [B]false[/B] if the button is not enabled and true if otherwise Isn't that enough to know that the button is not enabled?

Member Avatar for scheppy
0
150

The End.