- 博客(9)
- 资源 (5)
- 收藏
- 关注
原创 xcode学习之帮助文档offline
过去一直是在线查看帮助文档,不是很方便,尤其是在中国这样的网络大环境下。现在设置成离线模式的,具体做法如图:
2014-03-24 06:45:11 715
原创 C++学习之sqlite
很久之前就用过sqlite,但是现在已经完全没有概念了,再次学习是个很苦恼的过程,所以就写下如下文章作为备份。首先sqlite如其名,是一个lite的数据库,lite体现在什么地方?体现在不用一个单独的服务器,可以直接集成到当前的程序之中,比较适合APP保存一些自身的数据,其并不太适合做大型网络的数据库。1)工具sqlite有一套很好的上手工具,非常方便我们做一些测试,下面的一串she
2014-03-22 00:33:16 895
原创 C++学习之rapidXML
这篇简介写的不错看起来很舒服。http://semidtor.wordpress.com/2013/03/29/rapidxml-mini-tutorial/另外下面是官方的文档和下载链接http://rapidxml.sourceforge.net/下面是一个自己写的遍历的例子:#include "../xml/rapidxml.hpp"using namesp
2014-03-21 16:36:01 1272
原创 ios 学习之 debug和release版本的运行
不管在什么平台上软件都有debug和release版本的差别,虽然本质上都是-O -g这些选项的差别,对应与开发着debug和release更多的概念上的差别,debug是面向自己的release是面向客户的。我们说一下在xcode上怎么配置debug和release。1. 配置首先为了让debug和release的区别更加明显,我们会给各自一个option,这样我们可以保证在debu
2014-03-20 22:19:48 15770
原创 Qt学习之QString与string的相互转换
#ifndef GLOBAL_H_CSX#define GLOBAL_H_CSX#include #include using namespace std;extern QString g_layout;inline QString s2q(const string &s) { return QString(QString::fromLocal8Bit(s.c_str())
2014-03-18 14:21:20 5233
转载 linux 捕捉Ctrl+C示例
#include #include #include #include void my_handler(int s){ printf("Caught signal %d\n",s); exit(1); }int main(int argc,char** argv){ struct sigaction sigIntHandler
2014-03-18 11:17:22 11439
原创 web学习之sharing host部署Mezzanine项目
1) python 环境sharing host并不提供root权限,但是这并不意味着你必须要使用它自带的软件而不能安装其他的软件,其实你一样可以去安装,方法是在$HOME下面安装,然后在bashrc里面设置一下,export PATH=/home/wangeen/python/bin/:$HOME/python/Python-2.7.2/:$PATH这里我安装了python2.7,在这个
2014-03-16 14:57:59 1353
转载 Install Python 2.7 on web sharing host
SummaryBluehost uses the preinstalled version of Python that ships with CentOS. Because of this it is often not the latest release. This article will explain how to install an updated version of
2014-03-13 20:26:27 858
原创 C++学习之Base64
一般是不会用string来存储内存的内容的,而是用unsigned char*来做这样的事情。但是如果图方便要用string来表达内存的内容就要用到base64,下面是我用到的一段代码,整理一下备忘。#include #include #include using namespace std; // base64 tablesstatic char ba
2014-03-06 16:54:59 1242
Effective C++
2009-03-19
Programming Windows with MFC
2009-03-18
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人