java - Local variables and formal parameters with same name in c++? -


in java, class variables , formal parameters can have same name , class variable referenced "this" keyword. there similar in c++?

example in java

public class {     private int x;     public void setx(int x) {         this.x = x;     } } 

what looking this->


Comments

Popular posts from this blog

Upgrade php version of xampp not success -

amazon web services - S3 and apache mod_proxy with basic authentication -

powershell - This solution contains one or more assemblies targeted for the global assembly cache -