A Function Calling a Function

This is a discussion on A Function Calling a Function within the C++ Programming forums, part of the General Programming Boards category; hi all again, i need one of my functions to call another function. im using references and prototypes, so i ...

A Function Calling a Function

hi all again, i need one of my functions to call another function. im using references and prototypes, so i put all the references the function called needed in the function calling it. and obviously the prototype of the functin called within the calling function. however i get this error;

I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.