Forum: C Aug 24th, 2009 |
| Replies: 4 Views: 296 Move the fork outside any if . |
Forum: C Aug 7th, 2009 |
| Replies: 21 Views: 940 Something like
do {
/* your code here */
} while (condition) |
Forum: C Dec 11th, 2008 |
| Replies: 5 Views: 463 Kilometer should be float as well. |
Forum: C Nov 24th, 2008 |
| Replies: 4 Views: 516 You need to allocate sizeof(MNT) not sizeof(MNTPTR) . |
Forum: C Sep 19th, 2008 |
| Replies: 2 Views: 427 To make it for generic you can read 2 strings , calculate their lenght , allocate sufficient memory using malloc to hold both of them and then call strcat. |
Forum: C Sep 11th, 2008 |
| Replies: 4 Views: 474 One for loop running from 1 to 100 should suffice. |
Forum: C Oct 21st, 2007 |
| Replies: 13 Views: 4,878 Cannot you use std::string apis ? |
Forum: C May 8th, 2007 |
| Replies: 7 Views: 1,540 rather use C++
overload > < and == functions. |
Forum: C May 3rd, 2007 |
| Replies: 3 Views: 749 Your question is not clear, what exactly do you require? |