上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 61 下一页

2008年11月5日

《基于MFC的OpenGL编程》系列文章

摘要: 《基于MFC的OpenGL编程》系列文章 阅读全文

posted @ 2008-11-05 10:50 Phinecos(洞庭散人) 阅读(28431) 评论(2) 推荐(7) 编辑

2008年11月4日

《基于MFC的OpenGL编程》Part 2 Setting up OpenGL on Windows

摘要: 源代码下载:OpenGL_ch2.rar WGL – Windows的 OpenGL扩展层 The WGL extension consists of a set of functions (wglCreateContext, wglDeleteContext etc.) and structures (such as PIXELFORMATDESCRIPTOR, GLYPHMETRICSF... 阅读全文

posted @ 2008-11-04 21:59 Phinecos(洞庭散人) 阅读(18667) 评论(13) 推荐(2) 编辑

《基于MFC的OpenGL编程》Part 1 A Primer

摘要: 3D图形学基本概念PerspectivePerspective refers to the angles between the lines that lend the illusion of three dimensions. Colors and ShadingMoving beyond line drawing, we need to add color to create a solid object. Shading refers to the way the color is applied to the polygon. Shading can be of two types i 阅读全文

posted @ 2008-11-04 21:15 Phinecos(洞庭散人) 阅读(14651) 评论(3) 推荐(6) 编辑

八皇后问题(牛人非递归版)

摘要: 想不服都不行,实在是太牛的代码,诡异的算法思路,出神入化的STL技巧。。。 阅读全文

posted @ 2008-11-04 20:14 Phinecos(洞庭散人) 阅读(4143) 评论(7) 推荐(0) 编辑

2003年广东省赛试题1 奥斯卡奖

摘要: Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ -->#include #include #include #include using namespace std; struct Movie { string name;//电影... 阅读全文

posted @ 2008-11-04 19:50 Phinecos(洞庭散人) 阅读(651) 评论(0) 推荐(0) 编辑

2003年广东省赛试题3 国际象棋

摘要: 经典模拟题 阅读全文

posted @ 2008-11-04 17:23 Phinecos(洞庭散人) 阅读(787) 评论(0) 推荐(0) 编辑

2008年11月2日

ZOJ1002 Fire Net(非递归版)

摘要: 以前用递归的回溯搜索思路做过一次,参见ZOJ1002 Fire Net(递归版),今天想着用非递归的方法试试看,呵呵,比我想象中要难啊,主要还是堆栈里究竟放什么,这一点上思路一直没理清。因此用了整整一天的时间,总算用非递归的方法把1002给AC掉了,在代码中我引入了堆栈层次的概念,模拟系统堆栈的行为,并且在搜索时加入了剪枝,但代码写得还是很烂,继续思考如何改进。 阅读全文

posted @ 2008-11-02 16:43 Phinecos(洞庭散人) 阅读(1875) 评论(2) 推荐(0) 编辑

2008年11月1日

八皇后问题(非递归版)

摘要: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->#include #include using namespace std; const int MAXSIZE = 8;//棋盘大小 int chess[MAXSIZE][MAXSIZE]={0}... 阅读全文

posted @ 2008-11-01 13:11 Phinecos(洞庭散人) 阅读(1232) 评论(0) 推荐(0) 编辑

2008年10月31日

八皇后问题(递归版)

摘要: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->/** * @author phinecos * @since 2008/10/31 */ class EightQueen { static final int MAXSIZE = 8;... 阅读全文

posted @ 2008-10-31 16:30 Phinecos(洞庭散人) 阅读(873) 评论(0) 推荐(0) 编辑

ZOJ1090 The Circumference of the Circle

摘要: 计算几何题,使用的数学公式参考http://topic.csdn.net/t/20050329/22/3892541.html Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ -->#include #include #incl... 阅读全文

posted @ 2008-10-31 10:20 Phinecos(洞庭散人) 阅读(542) 评论(0) 推荐(0) 编辑

上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 61 下一页

导航