#include <iostream>
using namespace std;
void jiSuan(int *aa,int *bb){
*aa = *aa + 10;
*bb = *bb + 10;
}
int main()
{
int a=1;
int b=1;
float r;
jiSuan(&a, &b);
cout <<(a+b)<< "Hello, world!" << endl;
system("pause");
return 0;
}
编译运行后的结果:
FR:海涛高软(hunk Xu) QQ技术交流群:386476712