摘要: 1.what is a OpenGL ESOpenGL is (Open Graphics Library) abbreviationOpenGL ES target devices including mobile phones, home appliances, and vehicles. Because OpenGL ES must be smaller than OpenGL, so i... 阅读全文
posted @ 2013-11-01 16:43 easycpp 阅读(156) 评论(0) 推荐(0) 编辑
摘要: The picture below is a .X file opened by DirectX Mesh View. Today, we look at the X file's detail information. I strongly recommand readers search "X File Format Reference" topic in DirectX SDK docume... 阅读全文
posted @ 2013-10-31 17:34 easycpp 阅读(187) 评论(0) 推荐(0) 编辑
摘要: Recently,in a project, I try to set a merge labels's background property, the result is: background not showing up. After Checked out on the Internet, I find out what the merge label is. Create a new ... 阅读全文
posted @ 2013-10-30 13:30 easycpp 阅读(655) 评论(0) 推荐(0) 编辑
摘要: Stack1.h#ifndef stack_#define stack_#include "stdafx.h"//#include //using namespace std;//exceptionclass OutOfBounds{public: OutOfBounds(){}};//change array's sizetemplatevoid Changesize1D(T * &arr,c... 阅读全文
posted @ 2013-10-29 15:47 easycpp 阅读(229) 评论(0) 推荐(0) 编辑
摘要: Heaps Heap Definition A max tree(min tree) is a tree in which the value in each node is greater(less) than or equal to those in its children(if any) Building a max heap Look at below figure, we adjus... 阅读全文
posted @ 2013-10-28 12:34 easycpp 阅读(744) 评论(0) 推荐(0) 编辑
摘要: Below is the core code template int Partition(T a[], int p, int r){ int x = a[r]; int i = p - 1; for(int j = p;j using namespace std;template void PrintfNum(T a[], int n);template int Partition(T a... 阅读全文
posted @ 2013-10-18 17:18 easycpp 阅读(329) 评论(0) 推荐(0) 编辑
摘要: Since an array with one element is a sorted array. By insert second element into this one array, we get a sorted array of size 2, Continuing in this way, we obtain a sorted array of size n. // Inserti... 阅读全文
posted @ 2013-10-18 17:13 easycpp 阅读(151) 评论(0) 推荐(0) 编辑
摘要: "Bubble Sort" is a simple way to sort elements. This sort employs a "bubbling strategy" to get the largetest element to the right. In a bubbling pass, pairs of adjacent elements are compared, the elem... 阅读全文
posted @ 2013-10-18 16:47 easycpp 阅读(428) 评论(0) 推荐(0) 编辑