I am trying to implement a program to solve 20 + equations .
what algo should i use

what kind of equations? do you means linear algebra equations.
reference to numerical recipe in c++

i want to solve a system of linear equations like
j1+ty1=j2+ty2=.............=jn +t*yn
y1+y2+y3+...yn=1
where t is constant
j1,y1 are variables

u found how to solve it?

The best algorithm is gaussian elimination. Read this first Click Here

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.