</pre><pre name="code" class="html">1.复习巩固VC编程环境的使用,以及C++模板设计。
2.回顾并掌握VC单文件结构程序设计过程。
3.回顾并掌握VC多文件工程设计过程
4.掌握VC程序调试过程。
5.回顾C++模板和模板的程序设计。
#include<iostream>
using namespace std;
void add(int x,int y)
{
int he;
he=x+y;
cout<<"这两个数的和是:"<<he<<endl;
}
void add(double x,double y)
{
double he;
he=x+y;
cout<<"这两个数的和是:"<<he<<endl;
}
void plus(int x,int y)
{
int cheng;
cheng=x*y;
cout<<"这两个数的积是:"<<cheng<<endl;
}
void plus(double x,double y)
{
double cheng;
cheng=x*y;
cout<<"这两个数的积是:"<<cheng<<endl;
}
int main()
{
float a,b;
cout<<"请输入两个数:"<<endl;
cin>>a>>b;
cout<<"这两个数是:&