Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

~4K People Reached
Favorite Tags
Member Avatar for Azmah
Member Avatar for David321

I'm supposed to be making an inventory program with a logo. I can get the inventory part working fine in a jframe, and I can get the logo working fine in jpanel, but if I combine them it starts acting really weird. Every time I click a button, it generates …

Member Avatar for JamesCherrill
0
188
Member Avatar for David321

I have two quick questions: 1) What is the point of a static method? As far as I can tell, there is no data there that would be accessed by multiple objects as there is no data stored there at all... 2)What does it mean to have a const after …

Member Avatar for mike_2000_17
0
156
Member Avatar for David321

I was writing a code for class as follows: [CODE]import java.util.Scanner; public class Salary2 { public static void main(String[] args) { Scanner input=new Scanner(System.in); String name; float salary; float hours; System.out.print("What is the employees name?"); name=input.nextLine(); while (!name.equals("stop")) { System.out.printf("What is %ss salary per hour?", name); salary=input.nextFloat(); System.out.printf("How many hours …

Member Avatar for StephNicolaou
0
188
Member Avatar for David321

After having my nth pair of earbuds blow on me, I'm getting kind of tired of it. I'm not abusive but the ones I get ($20-$40 range) always break after a couple months. I'm ready to spend some good money on ones [I][U]that won't break[/U][/I]! Which ones have worked for …

Member Avatar for coolbeanbob
0
168
Member Avatar for Dani

Us Long Islanders are bracing ourselves as we prepare for Hurricane Irene ... Some people on the south shore have already been evicted. How bad do you think it's going to be? I don't know what it is with natural disasters lately. So far this year we've been hit with …

Member Avatar for Dani
0
112
Member Avatar for David321

I've been having some trouble making the knights tour (getting a knight to go around a chessboard without touching the same square twice) work correctly. Right now the max amount of moves I can get out of it is 59. I can't figure out any reason why it shouldn't go …

Member Avatar for raptr_dflo
0
657
Member Avatar for David321

Do people here actually use the Daniweb Irc channel frequently? I was there a couple of days ago and it was totally empty...

Member Avatar for ~s.o.s~
0
167
Member Avatar for David321

I'm currently using the fourth edition of Deitels "C++ How to Program", which I borrowed from the library. I'm interested in buying a copy of the textbook myself. If I buy a fifth/sixth edition will there be things that will be confusing? For example, are the concepts introduced in a …

Member Avatar for David321
0
115
Member Avatar for werdna347

[CODE] cout<<"What HTH level are you (1,2,3): "; cin>>hthLevel; switch(hthLevel){ case 1:out<<"Hand to hand level= 1"<<endl;break; case 2:out<<"Hand to hand level= 2"<<endl;break; case 3:out<<"Hand to hand level= 3"<<endl;break; default: cout<<endl<<"Incorrect"; }[/CODE] Need to know how to loop this so if 1,2 or 3 is entered it continues but if an …

Member Avatar for Cross213
0
281
Member Avatar for David321

Is there any easy way to view the full content of multidimensional arrays in VC++ 2010 in the debugger (or some other way I suppose)?

Member Avatar for David321
0
198