Factoring Polynomials in C++

This is a discussion on Factoring Polynomials in C++ within the C++ Programming forums, part of the General Programming Boards category; I am attempting to write a program that factors polynomials, but I am in a bit of a jam on ...

Factoring Polynomials in C++

I am attempting to write a program that factors polynomials, but I am in a bit of a jam on how to do it. So far I have developed some steps, but those are just for binomials, anyways, here is what I have so far.
------------------------------------------------------
Step 1: Check for common monomial factors