template<class T1,class T2, class T3>
class CA
{
public:
T1 x;
T2 y;
};
void main()
{
CA<int, unsigned int, double> a;
a.x = 2.7; a.y= 7.6;
cout<<a.x << a.y<<endl;
}
以上程序输出结果为________和________。
发布于 2021-02-05 16:01:15
- 体验AI问答!更聪明、超智能!
- 一款基于GPT的超级AI助手,可以对话、创作、写文案!