Re: c programming functions questions

  • From: Daniel Dalton <daniel.dalton47@xxxxxxxxx>
  • To: programmingblind@xxxxxxxxxxxxx
  • Date: Wed, 17 Oct 2007 08:29:29 +1000

On 17/10/2007 8:10 AM, John Miller wrote:
That's what I'm trying to do is put everything in it's own function. I'm just wondering if I need to start form scratch or if I should just work with what's there. I have a little of it done, I'll probably send in

Well you could probably just copy and paste the code to different functions.
Of course you would have to write out the function declarations and the proto types. But that isn't much code.
I always find though that I learn more by rewriting the code.
Sometimes I change it to see what happens. Also I sometimes try to solve the same problem. and my code is sometimes a lot different to the book's code.
You will need to use arguments and return values.

Daniel Dalton
View the list's information and change your settings at //

Other related posts: