下面的代码给了一个错误,在某些版本的Firefox浏览器 - linksHandle is not defined。 该代码是由在底部有一个名为linksHandle功能的功能的。据我所知,当函数被定义的函数被调用时,该函数应该被挂起。 因此,对于事件“mMenuReady”中定义的功能应该能够访问它,因为它机箱在它的执行上下文中定义的所有功能和变量。 为什么有些版本的Firefox需要的函数声明
#include <iostream>
#include <string.h>
using namespace std;
#define NMAX 10 // pre-processing directive
template<typename T>
class Stack {
public:
T Smain, Saux;
T stackArray[NMAX];
int to