04 2014 档案

摘要:// random_shuffle example#include // std::cout#include // std::random_shuffle#include // std::vector#include // std::time#incl... 阅读全文
posted @ 2014-04-19 11:48 c2c 阅读(128) 评论(0) 推荐(0) 编辑
摘要:char szBuffer[] = "wo我是中国人!woo"; int nPos = 0; int nCnCount = 0; int nSize = strlen(szBuffer); while(nPos<nSize){ if((int)szBuffer[nPos++] <0) ++nCnCount; } cout<<"存在中文字个数:"<<nCnCount/2<<endl; 阅读全文
posted @ 2014-04-09 15:19 c2c 阅读(192) 评论(0) 推荐(0) 编辑
摘要:一、LOCAL_SRC_FILES := hellocpp/main.cpp \ ../../Classes/AppDelegate.cpp \ ../../Classes/HelloWorldScene.cpp二、FILE_LIST := hellocpp/main.cpp \ $(wildcard $(LOCAL_PATH)/../../Classes/Shared/*.cpp) \ $(wildcard $(LOCAL_PATH)/../../Classes/*.cpp) ... 阅读全文
posted @ 2014-04-09 14:09 c2c 阅读(421) 评论(0) 推荐(0) 编辑