- Strength to Increase Rep
- +3
- Strength to Decrease Rep
- -0
- Upvotes Received
- 2
- Posts with Upvotes
- 1
- Upvoting Members
- 2
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
Re: You probably want to be able to run a java program by clicking an icon instead of running from the command line or from an IDE. Create a .jar file, put it on your desktop and click away. | |
Re: instead of taking the MOD of 100 take the MOD of 2 that should get you 0,1,2. I'm to lazy to run it, but if it just gets you 1 and 2. then do the mod of 3 and take 1 from it. ie (rand() % 3) - 1. in … | |
Re: How about a table join. SELECT * FROM Database1.TableName1 INNER JOIN Database2.TableName2 ON Table1.field1 = Table2.field1; (Double check all this syntax, its psudo codish, and im not any kind of expert in SQL or Java) If you want to do that in java just get a Connection then [code] TreeSet<String> … | |
Re: Yes, but for this to work you need to make sure that you have A) a flux capacitor. B) plutonium if you don't have plutonium your are going to need A) a city hall clock tower B) a lighting storm C) a large cable running from the clock tower to … | |
Re: It looks like you will create a GUI. Then your GUI will instantiate an object of the QnA class. You will then use the methods of the QnA class to fill in text boxes and get user input from your GUI class. [code] public class QnAGUI extends JFrame { private … | |
Re: I think you can still use Thread.sleep(int milliseconds); to pause execution of the program. Even if you don't extend Thread or implement Runnable. I think i have done that before. Do you want to avoid using Threads, or just the Thread methods? | |
Re: If a recursive function has no base case, it will not return and you will get a stack overflow. | |
I'm a career changer with a Bachelor's degree in an unrelated field. I'm doing an A.S in computer science, and a Masters in MIS right now. Things are going good, I've got classroom experience with Java, C++, html, css, javascript, JSP, php, SQL, taking asp.net. etc.... Just about done with … | |
For newer programmers, myself included, modulus is probably the most obscure operator. ie easy to understand, not always easy to find a use for. But when you see an algorithm that uses modulus, it immediately makes sense. How about a few samples where modulus works well. For example, is a … | |
Re: To crack passwords, open a dictionary and start with aardvark try every word until you hit zyxt. If none of them work, try them in caps. | |
I want to attempt some win32, and have looked around on Amazon, safari books online , Google etc. I have seen a few books that look promising, but does anyone have any recommendations for any win32 books that they found helpful. | |
I took a class on C++ a few months back. I just finished reading Sams "teach yourself C++ in 21 days" which took me way longer than 21 days to finish. but i feel like i have a basic understanding of the language that was presented in that book. The … | |
Re: Do you understand the differences between storing stuff on the stack, and storing stuff on the heap? | |
is it correct to say that to take advantage of polymorphism at runtime, all of the base class functions that will be overriden must be virtual. If they are not, then you are really utilizing polymorphism at compile time? Do you guys use virtual sparingly, or frequently? | |
Ok i have a few questions. I'm fairly new to programming. Im starting to get a little functional with java, i can handle GUI's, threads, exceptions, 2d graphics, JDBC etc. I took a class in C++ only to find that I am not even close to producing graphics or GUI's … |