Programme skills

时间:2022-03-26 15:58:44

1. Dynamic library

2. Template class. function

template<typename T>

classs Sample {

...

template<typename A>

Sample( const Sample<A> &a);

template< typename X>

int assign( X a );

...

  };

3. c++ default 6 functions

class A;

1)A();

2)  A(const A&a)

3) operator=( const A&a);

4) ~A();

5) operator &

6) const operator &