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