为什么我生成不了?(Visual Studio 2017)
#include<iostream>
#include<stdlib.h>
using namespace std;
int main(void)
{
int a = 10;
int &b = a;
b = 20;
cout << a << endl;
a = 30;
cout << b << endl;
system("pause");
return 0;
cin.get;
}#include<iostream>
#include<stdlib.h>
using namespace std;
int main(void)
{
int a = 10;
int &b = a;
b = 20;
cout << a << endl;
a = 30;
cout << b << endl;
system("pause");
return 0;
cin.get;
}2017-11-28
举报