摘要:1 /************************************************************************/ 2 /* 功能:boost实现串口通信类 */ 3 /* 作者: kernelmain QQ:835609451 */ 4 /* 版本:v0.1 build at 2014.3.25 */ 5 /***...
阅读全文
03 2014 档案
摘要:1 /************************************************************************/ 2 /* 功能:boost实现串口通信类 */ 3 /* 作者: kernelmain QQ:835609451 */ 4 /* 版本:v0.1 build at 2014.3.25 */ 5 /***...
阅读全文
摘要:Mac OS效果Windows 效果想写这个东西其实是因为最近要写个命令行的工具,但是有个问题是什么呢?就是传统的那个黑漆漆的窗口看起来很蛋疼。并且完全看不到重点,于是就想起来这么一个东西。相对来说针对*nix的系统方法会比较通用一些,而windows下这个东西需要用到专门的Windows相关的api来实现。下面先说通用的方法:1.*nix (Linux/Unix/Mac OS)1234567891011121314151617181920212223242526272829303132333435363738394041424344//// main.cpp// ColoredHello..
阅读全文
摘要:取自:http://www.viksoe.dk/code/all_mfc.htm,里面有各种MFC常用的类// Ini.h: interface for the CIni class.//// Written by Bjarke Viksoe (bjarke@viksoe.dk)// Copyright (c) 2000.//// This code may be used in compiled form in any way you desire. This// file may be redistributed by any means PROVIDING it is // not so
阅读全文
摘要:取自:http://www.viksoe.dk/code/all_mfc.htm,里面有各种MFC常用的类// LogFile.h: interface for the CLogFile class.//// Written by Bjarke Viksoe (bjarke@viksoe.dk)// Copyright (c) 2000.//// This code may be used in compiled form in any way you desire. This// file may be redistributed by any means PROVIDING it is /
阅读全文
摘要:转:STL是一个标准,各商家根据这个标准开发了各自的STL版本。而在这形形色色的STL版本中,SGI STL无疑是最引人瞩目的一个。这当然是因为这个STL产品系出名门,其设计和编写者名单中,Alexander Stepanov和Matt Austern赫然在内,有两位大师坐镇,其代码水平自然有了最高的保证。SGI STL不但在效率上一直名列前茅,而且完全依照ISO C++之规范设计,使用者尽可放心。此外,SGI STL做到了thread-safe, 还体贴地为用户增设数种组件,如hash, hash_map,hash_multimap, slist和rope容器等等。因此无论在学习或实用中,S
阅读全文
摘要:VC++2010下编译STLport,Boost最近在想向Boost转移,努力掌握Boost代码的过程中,STLport版本:5.2.1Boost版本:1.4.6.1 (1.4.7.0也OK)编译器Visual Studio 2010STLPort的编译,选择Microsoft Visual Studio 20010下面的Visual Studio Tools下面的命令行环境编译工具,Visual Studio Command Prompt(2010)。进入STLport目录,运行1234cd E:\HaveFun\STLport\STLport.5.2.1configure.bat msvc
阅读全文
|