程序包含complex类和String类 头文件 #ifndef __COMPLEX__ // 1.防卫式声明 #define __COMPLEX__ #include <iostream> #include <string.h> using std::strcpy