Well I think I just ran into my first problem. I am going to research it first before I go about asking for a solution. But I guess I could ask the question indirectly.
I am not sure about the procedures for posting code on this forum so if I do it wrong please correct me.
+++++++++++++++++++
# include <iostream.h>
int Diff(int a, int

{
cout << "In Diff(), received " << a << " and " << b << ".\n";
return (a-

;
}
int GetAge(int a,int y)
{
cout << "In GetAge() , received " << y << " also received " << a << ".\n";
return (y-a);
}
int main()
{
cout <<"I'm in main.\n";
int a, b, c, x, y, z, f;
cout <<"This function will hopefully calculate the age difference between\n";
cout <<"me and my nephew.\n";
cout <<"Enter your age.\n";
cin >>a;
cout <<"Enter your newphews age.\n";
cin >>b;
cout <<" \nCalling Difference()\n";
c=Diff(a,

;
cout <<"Back in main.\n";
cout << "c was set to " << c << ".\n";
cout <<"Now lets try something a little more complex ok?\n";
cout <<"This time we will calculate how old your nephew will be when you are a certain age.\n";
cout <<"How old do you want to be?\n";
cin >>y;
z=GetAge(a,y);
cout <<"The age difference between your actual age and the age you want to be is " <<x << ".\n";
cin >>f;
return 0;
}
+++++++++++++
My problem is that when I am calling the function GetAge() to return the value I get one screwed up number. I am thinking that I am going to have to use a getline. Not sure on how that works yet but that is what I am about to check. Wish me luck. O yes, and one more thing. I have been trying to look for an answer to this question for days and have not been able to find it. When I compile a program and it has no input statments the screen just pops up and goes away so fast, for example, in the "hello world" tut it goes so fast that I don't even get a chace to see it. I took a class for this in High School and I remeber that after every program it said to hit any key to contiune then it would go away. I don't remeber what it was that did that. I will keep looking though.