So I was reading Accelerated c++ and there is a statement like:
"A variable is an object that has a name".
That made me go into fog.
So if I have a class:
class x
{
public:
int i;
}
and i create:
x here;
is here called an object or a variable? According to accelerated c++ it's a variable,but what is an object then?!