In C++, how are the local class variables declared? I'm new to C++ but have some python experience. I'm wondering if C++ classes have a way of identifying their local variables, for example, in python your class' local variables are marked with a self. so they would be like:
self.variable_name
Does C++ have something similar to this for local variables or does it have something completely different? In pseudocode, I think the class' variables would look something like this:
class Code:
public:
<some code>
private:
int self.variable
double self.other_variable
<more code>
but then, I could be completely wrong. Thanks in advance.