08 2015 档案

摘要:VC6 下 libpng 库的编译与初步使用一、libpng 库的介绍libpng 用于处理 png 格式的图片, 是一套比较完善的 png 图片处理库, 免费、开源, 因此受到了很高的好评。遗憾的是, 它的官方网站: htp://www.libpng.org/ 现已不能直接访问。但是我们依然能够通... 阅读全文
posted @ 2015-08-27 15:23 老榕树 阅读(639) 评论(0) 推荐(0) 编辑
摘要:一、下载源代码。下载地址:http://www.ijg.org/。注意:一定要下载win32 版本二、编译源代码. 1.解压源代码,(不需要修改,修改报错)修改源代码中jconfig.vc为jconfig.h; 2、添加环境变量PATH,C:/Program Files/Microsoft Visu... 阅读全文
posted @ 2015-08-27 15:18 老榕树 阅读(254) 评论(0) 推荐(0) 编辑
摘要:怎么将linux下的项目转换成windows的VS2010下的项目?收藏liuchao35758600灼眼的超哥本版等级:结帖率:100%楼主发表于: 2013-02-17 12:17:10本帖最后由 liuchao35758600 于 2013-02-17 12:18:14 编辑linuxwind... 阅读全文
posted @ 2015-08-27 00:30 老榕树 阅读(877) 评论(0) 推荐(0) 编辑
摘要:如何在VC6.0下用pthread.h这个头文件1.下载PTHREAD的WINDOWS开发包pthreads-w32-2-4-0-release.exe(任何一个版本均可)http://sourceware.org/pthreads-win32/,解压到一个目录。2.找到include和lib文件夹... 阅读全文
posted @ 2015-08-27 00:26 老榕树 阅读(598) 评论(0) 推荐(0) 编辑
摘要:将Linux代码移植到Windows的简单方法 一.前言 Linux拥有丰富各种源代码资源,但是大部分代码在Windows平台情况是无法正常编译的。Windows平台根本无法直接利用这些源代码资源。如果想要使用完整的代码,就要做移植工作。因为C/C++ Library的不同和其他的一些原因,移植... 阅读全文
posted @ 2015-08-27 00:19 老榕树 阅读(1453) 评论(0) 推荐(0) 编辑
摘要:使用cygwin移植Linux的项目到Windows下之总结(转)原文http://my.oschina.net/michaelyuanyuan/blog/68615?p=1一、why 接到一个任务,把公司的某个在Linux下开发的项目(也就是一个程序啦)移植到Windows下,使得其可以在Win... 阅读全文
posted @ 2015-08-26 22:57 老榕树 阅读(458) 评论(0) 推荐(0) 编辑
摘要:在Windows下使用Dev-C++开发基于pthread.h的多线程程序【转】在Windows下使用Dev-C++开发基于pthread.h的多线程程序文章分类:C++编程 一直都是使用Dev-Cpp5编写C/C++程序,感觉小巧方便。不过,在学习C++的多线程编程的时候,发现添加“#inclu... 阅读全文
posted @ 2015-08-25 22:10 老榕树 阅读(642) 评论(0) 推荐(0) 编辑
摘要:2个无线路由器怎么连接浏览:69560|更新:2012-11-19 17:07|标签:线路连接1234567分步阅读在 无线网络成为家庭和中小企业组建网络的首选解决方案的同时,由于房屋基本都是钢筋混凝土结构,并且格局复杂多样,环境对无线信号的衰减严重。所以使用一个 无线AP进行无线网络覆盖时,会存在... 阅读全文
posted @ 2015-08-20 21:48 老榕树 阅读(292) 评论(0) 推荐(0) 编辑
摘要:以前用FastReport制作报表,从来没有打印过图片,这段时间做了个打印个人简历的程序,需要打印照片。试着在frreport模板中加载照片没 问题,可是想要动态的装载照片要怎么做呢,我的要求是将个人简历包括照片存放在数据库中,在用户查看简历时,先将简历数据载入,照片放在IMAGE控件 中,如果要打... 阅读全文
posted @ 2015-08-12 21:46 老榕树 阅读(1955) 评论(0) 推荐(0) 编辑
摘要:SQLite 日期 & 时间SQLite 支持以下五个日期和时间函数:序号函数实例1date(timestring, modifiers...)以 YYYY-MM-DD 格式返回日期。2time(timestring, modifiers...)以 HH:MM:SS 格式返回时间。3datetime... 阅读全文
posted @ 2015-08-12 16:21 老榕树 阅读(280) 评论(0) 推荐(0) 编辑
摘要:SuperObjectSuperObject第三方控件包,试用了下并编写了个DEMO,发现还是蛮强大。废话 少说,看看下面的代码就知道其强大:1、JSON原始数据{"name":"张三",/*注释*/"age":33,"sex":true,"weight":123.456,"tel":["86-11... 阅读全文
posted @ 2015-08-11 16:44 老榕树 阅读(623) 评论(0) 推荐(0) 编辑
摘要:数据库日期类型是int类型的,该查询结果是datetime类型的select from_unixtime( `dateline` ) from cdb_posts如果原来类型是datetime类型,查询结果要是int类型则select unix_timestamp( `dateline` ) fro... 阅读全文
posted @ 2015-08-09 00:28 老榕树 阅读(560) 评论(0) 推荐(0) 编辑
摘要:SQLCMD-E-dmaster-ic:\Scripts\create_db.sql安装了Microsoft® SQL Server® 2008 R2 Native Client可用 阅读全文
posted @ 2015-08-04 23:43 老榕树 阅读(307) 评论(0) 推荐(0) 编辑
摘要:codeblocks opengl的配置GLUT 3.7下载地址:http://www.opengl.org/resources/libraries/glut/glutdlls37beta.zip下载下来的 GLUT压缩包有 glut.dll, glut.h, glut.lib, glut32.dl... 阅读全文
posted @ 2015-08-03 22:17 老榕树 阅读(244) 评论(0) 推荐(0) 编辑
摘要:Outputting Strings in the Console #include class Console {public: enum fore_color { f_black = 0 , f_white = FOREGROUND_INTENSITY | FOREGROUND_RED | ... 阅读全文
posted @ 2015-08-02 15:52 老榕树 阅读(226) 评论(0) 推荐(0) 编辑
摘要:Using RUNDLL32.exe to call a function within a dll Rundll32 is a utility included with Windows that allows you to execute an exported DLL-function fr... 阅读全文
posted @ 2015-08-02 15:51 老榕树 阅读(262) 评论(0) 推荐(0) 编辑
摘要:A class for dynamic icons in Windows #include class DynamicIcon {public: DynamicIcon();~DynamicIcon(); HICON Icon();private: HDC memDC1_; HDC memDC2... 阅读全文
posted @ 2015-08-02 15:50 老榕树 阅读(207) 评论(0) 推荐(0) 编辑
摘要:A simple windows programm in c The following programm is a minimal windows program. It opens a window and writes a text into the window.If you compi... 阅读全文
posted @ 2015-08-02 15:47 老榕树 阅读(252) 评论(0) 推荐(0) 编辑
摘要:Writing a device driver for Windows In order to write a device driver for windows, one needs the device driver development kit (ddk) and a c compiler... 阅读全文
posted @ 2015-08-02 15:45 老榕树 阅读(230) 评论(0) 推荐(0) 编辑
摘要:Font: a C++ class This class is used in Fractal Generator. Avi Examples The header fileFont.h/* Font.h Copyright (C) 2002-2005 René Nyffenegger This... 阅读全文
posted @ 2015-08-02 15:41 老榕树 阅读(363) 评论(0) 推荐(0) 编辑
摘要:Bitmap: a C++ class The five steps involved to draw a bitmap: Load bitmap using LoadBitmap or LoadImage Create a memory DC Select the bitmap into th... 阅读全文
posted @ 2015-08-02 15:38 老榕树 阅读(397) 评论(0) 推荐(0) 编辑
摘要:Creating an AVI in memory with C++ The following example demonstrates how an avi file is completely created in memory./* MakeAviInMemory.cpp An exam... 阅读全文
posted @ 2015-08-02 15:37 老榕树 阅读(254) 评论(0) 推荐(0) 编辑
摘要:AviMemDc: a C++ class This class is used in the Avi Examples.The header fileAviMemDC.h/* AviMemDC.h A C++ class for creating avi files Copyright (c)... 阅读全文
posted @ 2015-08-02 15:36 老榕树 阅读(256) 评论(0) 推荐(0) 编辑
摘要:Creating an generated Earth AVI with C++ EarthGenerator.cpp/* EarthGenerator.cpp An example on how to use AviMemDC.cpp Copyright (c) 1998-2003 Torbe... 阅读全文
posted @ 2015-08-02 15:34 老榕树 阅读(238) 评论(0) 推荐(0) 编辑
摘要:Embedding SQLite in a c programm The following program demonstrates how to embed SQLite into a c program.I compiled the program with MinGW without a... 阅读全文
posted @ 2015-08-01 16:08 老榕树 阅读(209) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示