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

11 Posted Topics

Member Avatar for Azmah
Member Avatar for BDove
0
2K
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
211
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
166
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
199
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
173
Member Avatar for Dani
Member Avatar for Dani
0
119
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
677
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
173
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
121
Member Avatar for werdna347

I'm no expert in c++ but I think you mean cout not out. Anyways, you are going to use a while loop.[CODE]cout<<"What HTH level are you (1,2,3): "; cin>>hthLevel; int x=0; while (x==0) { switch(hthLevel){ case 1: cout<<"Hand to hand level= 1"<<endl;x=1;break; case 2: cout<<"Hand to hand level= 2"<<endl;x=1;break; case …

Member Avatar for Cross213
0
292
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
212

The End.