heres my code................

// time.h

#include <iostream>

using std::cout;
using std::cin;
using std::endl;


class Time
{
public:
void setTime();
void print();

private:
int hour;
int minute;
int second;

};
void Time::setTime()
{
cout << endl;
cout << "Please enter the time (HH:MM:SS) ====> ";
}
void Time:rint()
{
endl;
cout << hour << minute << second;
}

// Time.cpp

#include <iostream>
#include "time.h"

using std::cout;
using std::cin;
using std::endl;


int main()
{
Time tim;

tim.setTime();
tim.print();

return 0;
}

When i compile using Visual c++ i get this error message....

time.h(28) warning C4551: function call missing argument list
time.h(28) : error C2568: 'identifier' : unable to resolve function overload