Installationsteps->useraddmysql->cd/tmp;tar-xzfmysql-VERSION.tar.gz->chown-Rroot.rootmysql-VERSION->mkdirmybuild->cdmybuild->cmake-DBUILD_CONFIG=mysql_release\-DCMAKE_INSTALL_PREFIX=/usr/local/mysql\../mysql_VERSION->make-j&&mak..
分类:
数据库 时间:
2014-08-01 13:54:12
阅读次数:
220
现在C++智能指针有无数个实现了,多一个也无所谓。哈。
这个智能指针是专门为cocos2dx 2.2.x定制的。主要是为了方便使用,同时又要遵循现有的cocos2dx的内存管理。特实现这样一个智能指针。在使用的时候不需要考虑retain或release操作,也不需要new或delete操作!
下面是实现代码
//在很多时候,类的成员是CCObject的子对象,为了保证对其正常使用,又要遵循c...
分类:
其他好文 时间:
2014-08-01 13:44:22
阅读次数:
236
Description
At the entrance to the university, there is a huge rectangular billboard of size h*w (h is its height and w is its width). The board is the place where all possible announcements are po...
分类:
其他好文 时间:
2014-08-01 10:54:34
阅读次数:
209
今天项目要上线,在Archive时报错:ARC forbids explicit message send of 'release''release' is unavailable: not available in automatic reference counting mode 项目中有几个....
分类:
移动开发 时间:
2014-08-01 10:47:51
阅读次数:
277
题目:Determine if a Sudoku is valid, according to: Sudoku Puzzles - The Rules.The Sudoku board could be partially filled, where empty cells are filled ....
分类:
编程语言 时间:
2014-08-01 10:31:31
阅读次数:
261
题目:Given a 2D board and a word, find if the word exists in the grid.The word can be constructed from letters of sequentially adjacent cell, where "ad....
分类:
编程语言 时间:
2014-08-01 02:20:41
阅读次数:
236
在开发过程中,我们经常需要用到NSLog输出一些信息,甚至有的开发过程,必须在控制台查看输出,有经验的程序员通过控制台输出就能知道整个数据交互的一个流程。但是一个发布的程序,里面带有太多的NSLog输出,肯定...
分类:
移动开发 时间:
2014-07-31 21:23:38
阅读次数:
217
Problem Description
Suppose that we have a square city with straight streets. A map of a city is a square board with n rows and n columns, each representing a street or a piece of wall.
A blockh...
分类:
Web程序 时间:
2014-07-31 21:05:27
阅读次数:
356
Given a 2D board and a word, find if the word exists in the grid.
The word can be constructed from letters of sequentially adjacent cell, where "adjacent" cells are those horizontally or vertically neighboring. The same letter cell may not be used more th...
分类:
其他好文 时间:
2014-07-31 17:16:57
阅读次数:
221
release使用 json 静态库 提示fatal error C1083: 无法打开编译器生成的文件:“../../build/vs71/release/lib_json\json_writer.asm”: No such file or directory
分类:
Web程序 时间:
2014-07-30 23:48:45
阅读次数:
333