c++的问题
#include<iostream>using namespace std;
class Time
{public:
Time(int m,int s):minute(m),second(s)
{}
void display()
{cout<<minute<<":"<<second<<endl;}
private:
int minute;
int second;};
int main()
{Time t(11,1);
cout<<t.display;
return 0}这题没错啊,问题在哪,编译后没显示