[求助]麻烦调试程序,改错
(1)
#include<iostream.h>
class example
{
private:
int date;
static int count;
public:
void eample (int y=10) {date=y;}
int getcount{};
{cout<<"date=:"<<date<<endl;
return count;}
}
(2)
#include <iostream.h>
template<class type T>
T max (T a;T b; T c);
{int t;
if (a>b)
{
if (a>c) t=a
else t=c;}
else;
{
if (b>c) t=c;
else t=b;
};
};
}