Forum: C Nov 10th, 2008 |
| Replies: 1 Views: 339 You don't reassign amount when you call AmountValidate from the main method.
amount_c=GetAmount();
amount_c=AmountValidate(amount_c); |
Forum: C Nov 10th, 2008 |
| Replies: 4 Views: 671 What are the errors? I bet you are in the same class as me :p |
Forum: C Nov 10th, 2008 |
| Replies: 1 Views: 773 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: C Nov 4th, 2008 |
| Replies: 8 Views: 638 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: 638 Are you printing this out to the command line? |
Forum: C Nov 4th, 2008 |
| Replies: 4 Views: 530 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... |