三角形の問題(4)

675 ワード

問題と説明:
/*
 *copyright(c) 2014,         
 *All rights reserved
 *    :test.cpp
 *  :  
 *  :v6.0
 *  ;2016 4 7 

 *
 *    :     

 *    : 
 *    :
*/

#include<iostream>
using namespace std;
class Triangle
{
public:
 Triangle(int xx=1,int yy=1,int zz=1)
 {
  x=xx;
  y=yy;
  z=zz;
 }
 void showMessage()
 {
  cout<<x<<" "<<y<<" "<<z<<endl;
 }
private:
 int x,y,z;
};

結果とまとめ:
この問題はメイン関数をコミットさせず、実行結果を使用しません.の