参考手册
参考手册
实例 C++ 赋值运算符
源代码
运行代码
#include <iostream> using namespace std; int main() { int x = 10; cout << x; return 0; }
x
#include <iostream>
using
namespace
std
;
int
main
() {
int
x
=
10
;
cout
<<
x
;
return
0
;
}
输出结果
10