我做了一个项目,并将类命名为与文件名相同。假设我保存了该项目并想要运行它。我如何通过 emacs 做到这一点?我也安装了jdk。
我已经读过它意味着指向指针的指针.但在下面的代码中,我能够更改地址的值.
int main() {
int x = 23; // initializing variable X = 23
int *myVar = &x; // Creating a pointer to the address of X
*myVar = 566; // My attempt at changing the value of X address
cout << x << endl; // Printing out X with new value
}
Run Code Online (Sandbox Code Playgroud)
它解决了.这怎么可能?**是指地址的价值吗?