In the field of civil engineering and architecture engineering etc, active program- ming with VC + + and MATLAB can make the most of respective advantages, improve computational efficiency and save a lot of human and material resources. In this paper, several methods for active programming with VC + + and MATLAB are discussed briefly, and an essential way of encapsulating the MATLAB math library in the environment of VC + + is advanced. Meanwhile, via an example, the detailed steps of constructing the environment of numerical cal...