Forum: C Oct 14th, 2009 |
| Replies: 3 Views: 293 Yeah, that sounds like a bit more than I want to tackle. I'll just give them different names. Thanks to both of you. |
Forum: C Jul 25th, 2008 |
| Replies: 15 Views: 1,402 First, make sure you are using a C compiler if this is a C program and make sure the extension at the end of the file is .c, not .cpp. If this is a C++ program, you're in the wrong forum. Assuming... |
Forum: C Jul 24th, 2008 |
| Replies: 6 Views: 1,423 Definitely don't write 100 if statements. If you have a 2-D array of doubles, like, say:
double groups[100][MAX_NUM_ELEMENTS_IN_GROUP];
where 100 is the number of groups, as in your case,... |