- 博客(2)
- 收藏
- 关注
原创 sort函数、max_element和min_element函数
#include <iostream>#include <string>#include <algorithm>using namespace std;int cmp(const char&a,const char& b){ if(a > b) return 1; else return 0;}int main(){ string s
2016-08-30 15:18:46 580
原创 C++文件流小程序
#include <iostream>using namespace std;void fun (char *s, int a, double f){ /**********found**********/ FILE * fp; char ch; fp = fopen("filel.txt", "w"); fprintf (fp, "%s%d%f\n", s
2016-08-29 23:26:36 464
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人