Posts
 
Reputation
Joined
Last Seen
Ranked #606
Strength to Increase Rep
+3
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
2
Posts with Upvotes
1
Upvoting Members
2
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
2 Commented Posts
0 Endorsements
Ranked #3K
~5K People Reached
Favorite Tags
c++ x 12
java x 5
Member Avatar for sasidharnet

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.

Member Avatar for masijade
0
485
Member Avatar for lovelyfire322

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 …

Member Avatar for noodlecode
0
94
Member Avatar for deepak_nuniwal

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> …

Member Avatar for javaAddict
0
2K
Member Avatar for vandenzergen

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 …

Member Avatar for Salem
0
1K
Member Avatar for sexycancer1973

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 …

Member Avatar for sexycancer1973
0
130
Member Avatar for eng_mary

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?

Member Avatar for eng_mary
0
180
Member Avatar for danilopena

If a recursive function has no base case, it will not return and you will get a stack overflow.

Member Avatar for BestJewSinceJC
0
82
Member Avatar for noodlecode

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 …

Member Avatar for ithelp
0
89
Member Avatar for noodlecode

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 …

Member Avatar for thoughtcoder
0
124
Member Avatar for PRASENJITBISWAS

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.

Member Avatar for Ancient Dragon
-2
79
Member Avatar for noodlecode

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.

Member Avatar for mostermand
0
83
Member Avatar for noodlecode

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 …

Member Avatar for MosaicFuneral
0
91
Member Avatar for winrawr

Do you understand the differences between storing stuff on the stack, and storing stuff on the heap?

Member Avatar for winrawr
0
107
Member Avatar for noodlecode

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?

Member Avatar for Narue
0
93
Member Avatar for noodlecode

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 …

Member Avatar for Freaky_Chris
0
158