以下代码
>>> for s in styles: s
h1 {\n color: #333,background-color: transparent;\n}\n
h2 {\n font-weight: 300;\n}\n
h3 {\n font-weight: 200;\n}\n
产生以下输出:
#include <iostream>
using namespace std;
int change(int *x){
*x = 4;
return 0;
}
int main(){
int z = 10;
cout << change(&z) << " * " << z << endl;
return 0;
}
但我希望:
0 * 10
和gdb在调用“change”函数后显示“z = 4”。