我在一个.CPP文件中定义了
_________________________________________________________________________________#include "stdafx.h"int Rand(INT iStart,INT iEnd)
{
return rand()%iStart+iStart;
}_________________________________________________________________________________CView对象中的OnMouseMove事件中如下调用:
     ::Rand(1,4);_________________________________________________________________________________但系统报: error C2039: “Rand” : 不是“operator``global namespace''”的成员
 error C3861: “Rand”: 即使使用参数相关的查找,也未找到标识符