Forum: Java Nov 12th, 2008 |
| Replies: 8 Views: 724 What you'll want in your "getLimbs()" method is for it to look like this I suspect:
Limb[] getLimbs(){
Limb[] limbs = new Limbs[4];
//Add arms and legs to limbs array
return limbs;
} |
Forum: Java Nov 12th, 2008 |
| Replies: 8 Views: 724 All this talk of passing limbs around is somewhat creepy :p |
Forum: Assembly Nov 12th, 2008 |
| Replies: 5 Views: 2,711 Best Jew: you are half right. Assembly speed = C++ as C++ is compiled into assembly code. With handwritten assembly, you might be able to make the routine more efficient than the C++ compiler does.... |
Forum: Java Nov 11th, 2008 |
| Replies: 5 Views: 477 You need to give way more detail than that. Are you trying to make a web browser or a web site? |
Forum: Java Nov 11th, 2008 |
| Replies: 3 Views: 420 Try using bigger numbers in set size. 10x20 pixels will give you a really small window. |
Forum: Java Nov 10th, 2008 |
| Replies: 28 Views: 1,702 You're sort of right. The classes I was mentioning were generated by crawling throught the DB and writing java code off of the table information. It was really sweet. It didn't use reflection though.... |
Forum: C Nov 10th, 2008 |
| Replies: 1 Views: 333 You don't reassign amount when you call AmountValidate from the main method.
amount_c=GetAmount();
amount_c=AmountValidate(amount_c); |
Forum: Assembly Nov 10th, 2008 |
| Replies: 3 Views: 1,072 I'd be willing to bet that printf changes the eax register... Have you looked into that? |
Forum: C Nov 10th, 2008 |
| Replies: 4 Views: 659 What are the errors? I bet you are in the same class as me :p |
Forum: Java Nov 10th, 2008 |
| Replies: 28 Views: 1,702 I've reflection to make method calls on auto-generated DAO objects that were based on similar tables in my data base. There are good uses for reflection, but most of the time you can get by without... |
Forum: Java Nov 10th, 2008 |
| Replies: 28 Views: 1,702 BestJew: Yeah, I meant an if statement. Reflection is probably overkill for your stated requirements. |
Forum: Java Nov 10th, 2008 |
| Replies: 28 Views: 1,702 If you make your object Serializable then you can store information about the object in String form. It won't be as readable as "germanShepard" but you could store objects serials somewhere to enter.... |
Forum: C Nov 10th, 2008 |
| Replies: 1 Views: 746 Are you using the fd array to communicate between the two? If so (and I don't see how it works) you are writing using fd[1] and reading using fd[0], could that be it? |
Forum: Java Nov 10th, 2008 |
| Replies: 3 Views: 422 It looks like you don't save the input anywhere other than in displayMenu(). None of the other methods can see that input variable.
You could have displayMenu() return the character that the user... |
Forum: Java Nov 5th, 2008 |
| Replies: 2 Views: 682 You could restrict the length of the text field to to chars. Then you could set up a listener event to validate the text field when it looses focus or when they try to submit the form. I can't think... |
Forum: C Nov 4th, 2008 |
| Replies: 8 Views: 621 I did some research. This looks like it's a giant pain in the butt. Here's a helpful thread if you're hell bent on some colors
http://gpwiki.org/forums/viewtopic.php?t=2884 |
Forum: C Nov 4th, 2008 |
| Replies: 8 Views: 621 Are you printing this out to the command line? |
Forum: C Nov 4th, 2008 |
| Replies: 4 Views: 522 The problem is that your outer loop is checking for 0 to exit. So when you have an error condition you are exiting the loop. Is there a char you enter to exit the program? That's the value that... |
Forum: Java Nov 4th, 2008 |
| Replies: 2 Views: 401 What exactly are you stuck on? Make sure to put your code in tags... |