Forum: C Feb 9th, 2009 |
| Replies: 13 Views: 2,000 Also it should be int main and return 0 :)
Chris |
Forum: C Feb 4th, 2009 |
| Replies: 4 Views: 1,228 void *malloc ( size_t size );This is the function prototype, and as Agni stated it returns a void pointer. Since this is the function prototype you do not use this syntax when calling the function... |
Forum: C Jan 30th, 2009 |
| Replies: 12 Views: 1,701 Please don't PM code solutions. I suggest re-reading the forums rules too. Just to make sure you understand how we work when it comes to handing out code.
Secondly, code solutions are best in the... |