自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(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 1190

转载 从基本的函数和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 745

转载 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 2584 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 1006

原创 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 637

原创 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 497

原创 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 468

原创 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 12373

原创 玩转Google开源C++单元测试框架Google Test系列(gtest)

http://www.cnblogs.com/coderzh/archive/2009/03/31/1426758.html

2011-02-12 14:09:00 436

原创 堆和栈的区别 (转贴)

http://www.cppblog.com/oosky/archive/2006/01/21/2958.html 堆和栈的区别 (转贴) 非本人作也!因非常经典,所以收归旗下,与众人阅之!原作者不祥! 堆和栈的区别一、预备知识—程序的内存分配一个由c/C++编译的程序占用的内存分为以下几个部分1、栈区(stack)— 由编译器自动分配释放 ,存放函数的参数值,局部变量的值等。其操作方式类似于数据结构中的栈。2、堆区(heap) — 一般由程序员分配释放, 若程序员不释放,程序结束时可能由OS

2011-01-29 18:55:00 440

转载 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 883

转载 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 505

原创 ???

typedef vector::type LodValueList;

2011-01-18 16:32:00 484

原创 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 541

原创 使用标准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 396

原创 符号文件观察器——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 2240

原创 Zoundry Test

Just Test Zoundry!

2011-01-15 23:42:00 354

源码:数据结构与算法分析 -C语言描述

源码:数据结构与算法分析 -C语言描述 book name data structures and algorithm analysis in C

2011-02-24

jQuery速查表(DocXML2CHM-090223)

jQuery 1.3 速查表 -- Shawphy, 原作:G. Scott Olson

2010-08-19

黑客反汇编揭秘.chm

《Hacker Disassembling Uncovered 》 by Kris Kaspersky (ed) ISBN:1931769222 A-LIST Publishing © 2003 (584 pages) This text shows how to analyze programs without its source code, using a debugger and a disassembler, and covers hacking methods including virtual functions, local and global variables, branching, loops, objects and their hierarchy, and more.

2009-08-26

Programming Windows.chm中文

Programming Windows,Charles Petzold之经典著作 此为中文版

2009-05-10

win95:a developer's guide部分源代码

win95:a developer's guide部分源代码 包括supperClass的,clock的,DlgXpnd的。 经典代码啊

2008-12-10

《Word排版艺术》

侯捷《Word 排版艺术》前两章,十分清楚。需要的同志快下吧

2008-11-25

工具栏演示程序的源码

工具栏演示程序的源码 详见网站于:http://f2.org/programming/win32.html

2008-11-14

Windows Forms Programming with C# - ERIK BROWN.pdf

Windows Forms Programming with C# - ERIK BROWN.pdf

2008-11-14

api 例子theForger's Win32 API Tutorial

theForger's Win32 API Tutorial 的源码

2008-10-12

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除