View Single Post
  #30   Spotlight this post!  
Unread 02-09-2007, 20:54
EricVanWyk EricVanWyk is offline
Registered User
no team
 
Join Date: Jan 2007
Rookie Year: 2000
Location: Boston
Posts: 1,597
EricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond repute
Send a message via AIM to EricVanWyk
Re: C Programming Homework Help Needed

You only half integrated my changes to divide.

q and r are coming in as references. You do not need to declare them again.

Also,
divide(base, q[j-1], &q[j], &r[j]);
should read as
divide(base, q[j-1], q[j], r[j]);

I'm going to be offline for a while. Good luck!