A. I am trying to develop a curve plotter which takes in user inputted equations[ eg y=t*t + cos(4*t) , x = 2*sin t ]

Then a loop is used

for(t=0; t<=10; t+=.1)

{

y = t*t + cos(4*t) ;

x = 2*sin t;

putpixel(fun1(x), fun2(y), WHITE); // fun1 and fun2 return appropriate pixel number

}

How can the user input the equations when the program runs?

B. I also want to know about precompiled headers.

Please help