A typical idiom is to prefix private variables with something. I tend to use "f" because of my Pascal background. A lot of C++ code tends towards "m". But there is no standard.
1 2 3 4 5 6
class example
{
double f_value;
public:
double value() { return f_value; }
};