Thread: question about programming polynomials

  1. #16
    Registered User
    Join Date
    Sep 2008
    Toronto, Canada
    I wonder if parsing an arbitrary function is beyond what's expected for your assignment.
    Perhaps the user can input the coefficients in another way - using multiple input prompts.
    For example, "Enter coefficient for C"... "X"... "X^2"... "X^3"... These would all go into a simple array. The to evaluate you simply loop through that.

  2. #17
    Registered User
    Join Date
    Feb 2011
    I already did a version just like what you said for my program, as a last resort. But it's required that the user will input the whole polynomial. Right now, I'm trying to do a polynomial parser, and it doesn't work T_T

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Question bout my work
    By SirTalksAlots in forum C Programming
    Replies: 4
    Last Post: 07-18-2010, 03:23 PM
  2. A question about a question
    By hausburn in forum C++ Programming
    Replies: 3
    Last Post: 04-25-2010, 05:24 AM
  3. Alice....
    By Lurker in forum A Brief History of
    Replies: 16
    Last Post: 06-20-2005, 02:51 PM
  4. Question...
    By TechWins in forum A Brief History of
    Replies: 16
    Last Post: 07-28-2003, 09:47 PM
  5. Generating Polynomials using Linked Lists
    By shaheedpak in forum C++ Programming
    Replies: 0
    Last Post: 09-25-2001, 01:22 PM

Tags for this Thread