我得到了 3D hanoy 游戏的代码(using opengl ,glut
)。当我尝试使用 VS 12 运行此游戏时,显示以下错误 ---
glutTimerFunc is undefined
glutInit is undefined
glutWindowSize is undefined
glPushMatrix is undefined
glRotatef is undefined
glTranslatef is undefined
glutSolidTorus is undefined
glPopMatirx is undefined
因为我猜这些问题是关于缺少函数的,我怎样才能在我的代码中添加这些函数来运行它?