摘要: Learning cocos2d with samples Published by riq on March 3, 2010 in cocos2d. 9 Comments Arguably the most unknown cocos2d feature is the tests/samples.cocos2d contains almost a test for each feature th... 阅读全文
posted @ 2010-04-21 12:48 AlexLiu 阅读(1962) 评论(0) 推荐(0) 编辑
摘要: 简要说明一下SQLite数据库执行SQL语句的过程** 调用sqlite3_prepare()将SQL语句编译为sqlite内部一个结构体(sqlite3_stmt).该结构体中包含了将要执行的的SQL语句的信息.** 如果需要传入参数,在SQL语句中用'?'作为占位符,再调用sqlite3_bind_XXX()函数将对应的参数传入.** 调用sqlite3_step(),这时候SQL语句才真正执... 阅读全文
posted @ 2010-04-21 00:23 AlexLiu 阅读(2355) 评论(0) 推荐(1) 编辑
摘要: 这是关于这个整形的定义。#define SQLITE_OK 0 /* Successful result *//* beginning-of-error-codes */#define SQLITE_ERROR 1 /* SQL error or missing database */#define SQLITE_INTERNAL 2 /* Internal logic error in S... 阅读全文
posted @ 2010-04-21 00:01 AlexLiu 阅读(14175) 评论(2) 推荐(1) 编辑