- 博客(17)
- 资源 (9)
- 收藏
- 关注
转载 lua cmake
cmake_minimum_required(VERSION 2.8)project (LUA C)# the following two variables are defined for the use of packages # that wish to l
2011-09-04 22:59:38 1202
转载 从基本的函数和WIN32API实现OGRE窗口
从基本的函数和WIN32API实现OGRE窗口 转载:http://lyme.blog.sohu.com/99908122.html#include "Ogre.h"#include "OgreConfigFile.h"#include "OgreStringConverter.h"#include "windows.h"// declare wndprocLRESUL
2011-06-25 15:12:00 755
转载 bmp2png---using libpng
<br />#include <png.h>#include <stdio.h>#include <stdlib.h>#include <stdint.h> /* A coloured pixel. */typedef struct { uint8_t red; uint8_t green; uint8_t blue;} pixel_t;/* A picture. */ typedef struct { pixel
2011-04-07 23:39:00 2597 1
原创 freetype
<br />// 获得一个字符位图bool LanguageManager::GetImage(char c,unsigned char *pBuff,int &pixel_x,int &pixel_y){ FT_Library ftLibrary; FT_Face ftFace; int error; error=FT_Init_FreeType(&ftLibrary); if(error)return false; error=FT_New_Face(ftL
2011-03-31 13:53:00 1019
原创 fstream 读取源文件
<br />#include <fstream>#include <iostream>using namespace std;string filename="a.cpp";int main(){ const int SZ=100; char buff[SZ]; { ifstream in("../main.cpp"); int i=1; while (!in.get(buff,SZ).eof()) { if(in.fail(
2011-03-21 12:56:00 650
原创 opengl 汇总
<br />http://glew.sourceforge.net/<br /> The OpenGL Extension Wrangler Library (GLEW) is a cross-platformopen-source C/C++ extension loading library. GLEW provides efficientrun-time mechanisms for determining which OpenGL extensions aresupport
2011-03-04 12:43:00 513
原创 opengl 汇总
<br />http://glew.sourceforge.net/<br /> The OpenGL Extension Wrangler Library (GLEW) is a cross-platformopen-source C/C++ extension loading library. GLEW provides efficientrun-time mechanisms for determining which OpenGL extensions aresupport
2011-03-04 12:42:00 477
原创 http://linux.chinaunix.net/bbs/viewthread.php?tid=1019170 ttf解析
http://linux.chinaunix.net/bbs/viewthread.php?tid=1019170
2011-02-25 14:58:00 12393
原创 玩转Google开源C++单元测试框架Google Test系列(gtest)
http://www.cnblogs.com/coderzh/archive/2009/03/31/1426758.html
2011-02-12 14:09:00 443
原创 堆和栈的区别 (转贴)
http://www.cppblog.com/oosky/archive/2006/01/21/2958.html 堆和栈的区别 (转贴) 非本人作也!因非常经典,所以收归旗下,与众人阅之!原作者不祥! 堆和栈的区别一、预备知识—程序的内存分配一个由c/C++编译的程序占用的内存分为以下几个部分1、栈区(stack)— 由编译器自动分配释放 ,存放函数的参数值,局部变量的值等。其操作方式类似于数据结构中的栈。2、堆区(heap) — 一般由程序员分配释放, 若程序员不释放,程序结束时可能由OS
2011-01-29 18:55:00 450
转载 SpriteManager2d A simple way of drawing 2D objects to the screen
Table of contents ogre2d-main.h ogre2d-main.cpp Notes This is a small code snippet, a small solution to an old issue in Ogre: The lack of a simple way of drawing 2D objects to the screen, the old way. Maybe for programming a -HUD, maybe for doing a small
2011-01-19 09:17:00 895
转载 ManualObject 2D Demonstrates an easy way to use ManualObject for creating 2D overlays
Note: You should use a material that has lighting and depth write turned off for this to behave correctly. See Displaying 2D Backgrounds for an example how to set up such a material programmatically.// Create a manual object for 2DManualObject* manual = mS
2011-01-19 09:16:00 518
原创 ATL Under the Hood Part 5
http://www.codeproject.com/KB/atl/atl_underthehood_5.aspx?artkw=window+thunk
2011-01-18 12:43:00 555
原创 使用标准C++的类型转换符:static_cast、dynamic_cast、reinterpret_cast、和const_cast
使用标准C++的类型转换符:static_cast、dynamic_cast、reinterpret_cast、和const_cast。3.1 static_cast用法:static_cast ( expression ) 该运算符把expression转换为type-id类型,但没有运行时类型检查来保证转换的安全性。它主要有如下几种用法:①用于类层次结构中基类和子类之间指针或引用的转换。 进行上行转换(把子类的指针或引用转换成基类表示)是安全的; 进行下行转换(把基类指针或引用转换成子类
2011-01-18 00:30:00 405
原创 符号文件观察器——SymView
http://blogold.chinaunix.net/u/21790/showart_1866972.html符号文件是调试器工作的重要依据,对很多调试功能都起着重要作用,例如栈回溯、源代码级跟踪、变量观察等等。符号文件大多是二进制的,而且不同编译器使用的文件格式有所不同。SymView工具用来显示符号文件中包含的符号表和符号数据。目前支持微软的Visual C/C++和C#编译器产生的DBG格式的符号文件和PDB格式的符号文件。SymView提供了以下多种方式来查看或者搜索符号文件的内容:符号表 PD
2011-01-17 09:17:00 2274
源码:数据结构与算法分析 -C语言描述
2011-02-24
黑客反汇编揭秘.chm
2009-08-26
win95:a developer's guide部分源代码
2008-12-10
Windows Forms Programming with C# - ERIK BROWN.pdf
2008-11-14
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人