C++ beginner - trying to write a function but getting a identifier...is undefined : I am a student and am tasked with creating a program that will determine if a person is rich or not.  My code is below and I keep getting an error that "identifier "isRich" is undefined.  Can someone help me figure out where I went wrong?  The instructions are:

We want to determine if someone is “rich.”  The definition of being rich depends upon a number of factors such as age, number of dependents, amount of debt, etc., as well as other subjective factors.  

Write a program that incorporates the use of functions:

In the main() function , display a pleasing banner of your choosing
From the main function, call a user-defined function calcWealth() which prompts the user for his age, amount of cash on hand, number of dependents, and amount of money owed to creditors.  You should use an ‘int’ to represent age and number of dependents but use a ‘long’ to represent amount of cash on hand and amount owed. 
Next, from the main() function, call a user-defined boolean function, isRich(), which accepts as arguments the age, cash on hand, number of dependents, and amount owed.  isRich() will calculate the “true cash value” and then determine if someone is rich.  Here are the criteria for isRich():
The amount owed must be subtracted from the cash on hand to determine a preliminary “true cash value”
If a person is has no dependents and a true cash value of $1 million or more, he can be considered rich – regardless of age.
If  a person is < 40 years old, subtract $150,000 from his true cash value for each dependent (e.g., if a person has three dependents, subtract $450,000)
If a person is 40-50 years old, subtract $75,000 from his true cash value for each dependent
If a person > 50 years old, subtract $25,000 from his true cash value for each dependent
Return the value of ‘true’ to main() is the person’s true cash value >= $1 million; otherwise, return a value of ‘false’
The main() function receives the boolean value from isRich() and displays a message indicating whether a person is rich or not.

    #include "stdafx.h"
    #include <iostream> //for input and output
    #include "Cusick Project 5.h"
    using namespace std;


    void calcWealth(int age, long cash, int dependants, long debt)
    {

	cout << "Please enter your age: ";
	cin >> age;
	cout << "Please enter the amount of cash on hand: ";
	cin >> cash;
	cout << "Please enter the amount of dependents you have: ";
	cin >> dependants;
	cout << "Please enter the amount of money you owe";
	cin >> debt;

	bool isRich(int *age, long *cash, int *dependants, long *debt);
	{
		long trueCash;
		bool status = false;

		trueCash = cash - debt;

		if (dependants == 0)
		{
			if (trueCash >= 1000000)
			{
				status = true;
			}
			else
				status = false;
		}

		else if (age < 40)
		{
			trueCash = trueCash - (dependants * 150000);
			if (trueCash >= 1000000)
			{
				status = true;
			}
			else
				status = false;
		}

		else if (age > 39 && age < 51)
		{
			trueCash = trueCash - (dependants * 75000);

			if (trueCash >= 1000000)
			{
				status = true;
			}
			else
				status = false;
		}

		else
		{
			trueCash = trueCash - (dependants * 25000);

			if (trueCash >= 1000000)
			{
				status = true;
			}
			else
				status = false;
		}
	  }
    }

	int main()
	{
		int age;
		long cash;
		int dependants;
		long debt;
		bool status; 

		cout << "Welcome to the wealth indicator..." << endl;

		calcWealth(age, cash, dependants, debt);

		if (isRich(status) = true)
		{
			cout << "Congratulations!  We consider you as being \"rich.\"" <<     endl;
		}

		else
		{
			cout << "I am sorry!  You are not yet \"rich.\"" << endl;
		}
	}