Forum: C Feb 4th, 2009 |
| Replies: 4 Views: 1,215 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,693 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... |
Forum: C Jan 28th, 2009 |
| Replies: 12 Views: 1,693 your desciption indicates that you will be given a list of random numbers that will be in no particualr order. thus you cannot just loop through the array backwards. You will need to perform some... |
Forum: C Oct 11th, 2008 |
| Replies: 7 Views: 786 That is too true, i'm glad you pointed that out. strtol() may prove helpful to me thanks.
Chris |
Forum: C Oct 10th, 2008 |
| Replies: 7 Views: 786 If you are looking to convert strings and into integers, you may want to check out the atoi() function.
Chris |
Forum: C Oct 1st, 2008 |
| Replies: 16 Views: 1,324 You are still trying to print out the value of a before you have retrieved its value from the user via scanf() |