What is the standard way to name a temp variable in the local function? let me give you an illustration of what I am doing. I get a pointer to a structure, so I want store one of its members locally to avoid a de-referenced, and then any modification assign back to the pointer.
To be more concrete:
struct Foo
{
double m_d;
};
void function (Foo* f)
{
double tmp=f->m_d;
/***Other stuff***/
f->m_d=tmp;
}
I don't like tmp. If I have many of them in a function, they only add a confusion.
Thanks