- 博客(4)
- 资源 (8)
- 收藏
- 关注
原创 c++ 利用流写入文件
std::vectorchar> *buffer ; std::stringstream path; std::ofstream fout(path.str().c_str(), std::ios::binary | std::ios::app); for (unsigned int i = 0; i size(); ++i)
2013-04-07 14:51:08 444
原创 c++ 利用file文件流读取文件
string getFileByName(string pFileName){ //第一先获取文件的路径 string path = CCFileUtils::sharedFileUtils()->getWriteablePath() + pFileName; CCLOG("path = %s",path.c_str()); //
2013-04-05 18:11:58 614 1
原创 c++ 数组Vector元素去重
创建数组arrAllValuesstd::vectorstd::string> arrAllValues;先排序 std::sort(arrAllValues.begin(),arrAllValues.end()); arrAllValues.erase((std::unique(arrAllValues.begin(),arrAllValues.
2013-04-03 17:05:44 911
原创 java琐碎
面向对象的特征有哪些方面 1. 抽象:抽象就是忽略一个主题中与当前目标无关的那些方面,以便更充分地注意与当前目标有关的方面。抽象并不打算了解全部问题,而 只是选择其中的一部分, 暂时不用部分细节。抽象包括两个方面, 一是过程抽象,二是数据抽象。 2. 继承:继承是一种联结类的层次模型,并且允许和鼓励类的重用,它提供了一种明确表述共性的方法。对象的一个新类可
2012-02-27 22:13:19 258
go语言高清PDF
2013-04-04
node-js PDF
2013-03-30
nc黑客工具
2012-02-24
计算机安全
2011-10-12
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人