Thread: C Programming Polynomials Help

  1. #1
    Registered User
    Join Date
    Sep 2012
    Posts
    1

    C Programming Polynomials Help

    Hi,

    I need to implement an algorithm into a functional solution.
    Any idea how to achieve this?

    Here is the description:
    Attached Images Attached Images C Programming Polynomials Help-img3-png 

  2. #2
    Registered User
    Join Date
    Sep 2012
    Posts
    357
    Wrap the polynomials in a structure containing a (possibly dynamic) array.
    Pass the 2 structures and the prime to the function; return another structure that contains 2 of the polynomial structure.

    Then complain to your teacher that returning two things from a function is very awkward.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. question about programming polynomials
    By firehydrant in forum C Programming
    Replies: 16
    Last Post: 03-04-2011, 10:09 PM
  2. Polynomials and ADT's
    By Emeighty in forum C++ Programming
    Replies: 20
    Last Post: 08-19-2008, 08:32 AM
  3. polynomials
    By Emeighty in forum C++ Programming
    Replies: 4
    Last Post: 08-18-2008, 08:52 AM
  4. Multiplying Two Polynomials
    By CaptainMorgan in forum C++ Programming
    Replies: 6
    Last Post: 10-30-2006, 01:34 PM
  5. polynomials
    By spinner in forum C Programming
    Replies: 2
    Last Post: 04-10-2003, 06:23 AM
Website Security Test