boost在路上...tokenizer tokenizer - Break of a string or other character sequence into a series of tokens, from John Bandela tokenizer - 分解字串,提取内容.作者: John Bandela 例一: // simple_example_1.cpp #include #include #include int main(){    using namespace std;    using namespace ...
MinGW的下载安装我就不多说了 1. 设置MinGW的环境变量,在 E:\!程序\C++\boost_1_33_0\tools\build\jam_src 目录下运行 build.bat mingw 编译bjam,在 E:\!程序\C++\boost_1_33_0\tools\build\jam_src\bin.ntx86 下生成bjam.exe,Copy it to windows directory. 2. 在Boost的解压目录下运行 bjam "-sTOOLS=mingw" install 就可以了,编译完成的文件会自动放在C:\Boost ...
用dll要一个导入库和头文件,对于Gcc/G++可以用工具dlltool来生成这个导入库.命令如下: dlltool --dllname foo.dll --def foo.def --output-lib libfoo.a dlltool在MinGW的工具包中有. 然后可以用 -l libfoo 调用库(libfoo的lib前缀可以省略,注意libfoo不要加后缀名,-L可以指定库的目录)  
用mingw32-make前修改一下makefile文件,改为如下 # DEBUG can be set to YES to include debugging info, or NO otherwise(不是DEBUG) DEBUG          := NO # PROFILE can be set to YES to include profiling info, or NO otherwise PROFILE      & ...
提取未确定数目的参数 在标准库的中专门提供一组宏来访问它们. 例: void error(int severity ...) {  va_list ap;  //用va_start初始化ap,第二个参数是函数的最后一个有名的形式参数的名字  va_start(ap,severity);  for(;;){   //宏va_arg是按顺序提取各个无名参数,第二个参数是假定的该无名参数的类型   chap* p = va_arg(ap,char*);   if(p==0)bre ...
2006-01-01

库收集

1. GFL SDK (写XnView的公司出品) GFL SDK is a free library (used by XnView) for developers who would like to support graphics image formats easily. The library exists in 2 versions. The light version supports the most popular formats (PNG, JPEG, ..), and the standard version supports more than 100 forma ...