摘要: 闲着无聊,写了个刷新的小工具,原本是用来替室友刷帖用的,后来发现那个论坛原来不是完全按照访问量来推荐帖子的,然后就悲剧了。#! /usr/bin/env python #coding=utf-8 import urllib.request import time import random from PAM30 import PAMIE ie = PAMIE() ie.navigate('http://www.cc98.org/dispbbs.asp?boardID=100&ID=3802411') times=0 while times < 20: time.s 阅读全文
posted @ 2011-11-06 20:52 Kevin Bing 阅读(1401) 评论(0) 推荐(0) 编辑
摘要: glut下载地址:http://www.opengl.org/resources/libraries/glut/glutdlls37beta.zip1. 把解压得到的glut.h放到"C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\gl"(与具体安装位置有关,应该是 安装目录\microsoft sdks\windows\v7.0A\include\gl) 2. 把解压得到的glut.lib和glut32.lib放到"“Programfiles(x86)\Microsoft Visual st 阅读全文
posted @ 2011-11-06 10:58 Kevin Bing 阅读(3357) 评论(0) 推荐(0) 编辑
摘要: 方法1:(已验证)在“工具”-》编译选项-》"Addfollowingcommandswhencallingcomplier"下面的编辑框里加上:-g3然后在下面的"Addthesecommandstothelinkercommandline"下的编辑框上加上:-g3转到programs页,把gcc行修改为:gcc.exe-D__DEBUG__,把g++行修改为:g++.exe-D__DEBUG__,点击ok。重新编译,就能调试了。方法2:(本人未验证)在dev c++ 环境中,写程序的时候,写了一个类,但是有点问题,想调试一下,但是调试的时候,老出现这 阅读全文
posted @ 2011-11-06 10:00 Kevin Bing 阅读(1032) 评论(1) 推荐(0) 编辑