请问: 怎样在全局函数中使用类的成员变量?在dialog.h文件中void Func ();class dialog : 
{
int pos;
}
在dialog.cpp文件中void fun()
{
}
请问在fun()里,怎样才能使用dialog类的成员变量pos?