Main.cc: In function 'int main()': Main.cc:10:29: error: 'cx' was not declared in this scope printf("%.5lf",a*x*x+b*x*x+cx+d); ^