Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

need help with a diff. eqn. solution

Status
Not open for further replies.

mechanical1

Technical User
Oct 7, 2007
1
US
I cant figure out how to solve this error:
F:\diffequ1.cpp(41) : error C2660: 'eqn' : function does not take 2 parameters
Error executing cl.exe.

this is my command....
{
ynew=yo+eqn(xo,yo)*dx;
x=xo+dx;
return;
}
 
> F:\diffequ1.cpp(41) : error C2660: 'eqn' : function does not take 2 parameters
So how many parameters does eqn() take?
You didn't post it, so we can't tell you.

It's really a simple matter of making sure the declaration and the use agree with one another.

Please use the [code][/code] tags around the code to preserve the formatting and indentation.


--
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top