How do i make the function 'heading' work? I was thinking of deleting it, but I don't think it is the answer. Thanks a bunch.

Code:
#include <iostream>
#include <string>
using namespace std;

int main()
{
        int num1 = 5;
        int num2 = 10;
        cout << "The sum of num1 + num2 is " << (num1 + num2) << endl;
        return 0;
}

using namespace std;
int heading()
{
        cout << "name\n";
        cout << "Class\n";
        cout << "Lab #2" << endl;
        cout << "This assignment demonstrates the use of functions" << endl;

}