prog.cpp: In function ‘int main()’:
prog.cpp:12:26: error: expression cannot be used as a function
q=(pow(x, 3)+3(pow(x, 2))+atan(x);
^
prog.cpp:12:35: error: expected ‘)’ before ‘;’ token
q=(pow(x, 3)+3(pow(x, 2))+atan(x);
^
prog.cpp:17:13: error: expression cannot be used as a function
q=x^3+3(x^2)+atan(x); cout << "B= " << q << endl;
^
prog.cpp:20:13: error: expression cannot be used as a function
q=x^3+3(x^2)+atan(x); cout << "B= " << q << endl;
^