No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
11 Posted Topics
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 …
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 …
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 …
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 …
I was just in Long Island this week. Got out just in time!
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 …
Do people here actually use the Daniweb Irc channel frequently? I was there a couple of days ago and it was totally empty...
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 …
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 …
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)?
The End.
David321