Re: c programming functions questions

  • From: "John Miller" <n1umj@xxxxxxxxxxx>
  • To: <programmingblind@xxxxxxxxxxxxx>
  • Date: Tue, 16 Oct 2007 22:45:06 -0400

I've been pretty much adding what I need to manually, and copying and pasting things around. I'm making progress I just haven't had the time to really sit and play. I think I have 2 weeks on this one though so I'll get the time. I found n the midterm I am getting it as I go. I just want to pass this class, then I don't have to touch it again if I don't want to. ----- Original Message ----- From: "Daniel Dalton" <daniel.dalton47@xxxxxxxxx>

To: <programmingblind@xxxxxxxxxxxxx>
Sent: Tuesday, October 16, 2007 6:29 PM
Subject: Re: c programming functions questions


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

http://members.iinet.net.au/~ddalton/
daniel.dalton47@xxxxxxxxx
__________
View the list's information and change your settings at //www.freelists.org/list/programmingblind


__________
View the list's information and change your settings at //www.freelists.org/list/programmingblind

Other related posts: