Forum: Geeks' Lounge Oct 24th, 2008 |
| Replies: 38 Views: 2,666 And the purpose in life of the thread starter is to join a forum, ask others their purpose in life, and then disappear in thin air. :P |
Forum: C Oct 23rd, 2008 |
| Replies: 3 Views: 653 int i = 1;
STUPID_ASSIGNMENT:
printf("%d\n", i);
if(i < 100)
{
i++;
goto STUPID_ASSIGNMENT;
} |
Forum: C++ Oct 22nd, 2008 |
| Replies: 4 Views: 435 Take away all those semi-colons after the if and else-if statement:
if (score >= 85);
grade = 'A';
else if (score >= 75);
grade = 'B';
else if (score >= 65);
... |
Forum: Windows Software Oct 21st, 2008 |
| Replies: 3 Views: 491 Hi welcome to the forum! Please post your questions under Tech Talk->Microsoft Windows or the relevant sub sections under it. |
Forum: C++ Oct 16th, 2008 |
| Replies: 18 Views: 1,631 Are you sure your program runs fine? At the first glance, there's so many errors in it:
1. Your main function is passing uninitialized variables' values like index and insertItem into removeAt()... |
Forum: C++ Oct 5th, 2008 |
| Replies: 12 Views: 1,053 What's the difficulty in calculating these two items? The first one is straight from the value the user entered, the second was just the total revenue deducting the admin fee & prize money.
... |
Forum: C Oct 3rd, 2008 |
| Replies: 8 Views: 2,007 When you are using the printf function:
printf("%s", a);
The function is treating variable "a" as a pointer to the beginning of a stream of characters. However, it doesn't have the... |