????//CTest.cpp:??????????ó?????????
????//
????#include"stdafx.h"
????#include<iostream>
????using namespace std;
????class Tc{
????private:
????int a;
????static int b;
????public:
????Tc(int t){
????a=t;b=b+t;
????}
????static void display(Tc C){
????cout<<C.a<<''<<C.b<<endl;
????}
????};
????int Tc::b=2;
????int_tmain(int argc??_TCHAR*argv[])
????{
????Tc A(2)??B(4);
????Tc::display(A);
????Tc::display(B);
????system("pause");
????return 0;
????}
????