- 博客(5)
- 资源 (2)
- 收藏
- 关注
原创 vote
#include #include#includeusing namespace std;map candidaes;typedef map::iterator VstrItor;int invild =0;unsigned int Addcandidate(char* pCandidateName){ if(NULL == pCandidateName ) {
2015-07-17 22:51:00 837
原创 自守数判断
#include #includeint getNum(long num){ int count = 0; while(num) { num/=10; count++; } return count;}int mypow(int n){ int p=1; int i; for(i= 0;
2015-07-17 22:03:25 1590
原创 时间函数
#include #include #include #includeusing namespace std;time_t GetTimeStampByStr( const char* pDate ){ const char* pStart = pDate; char szYear[5], szMonth[3], szDay[3], szHour[3],
2015-07-16 23:30:21 599
原创 文件操作——日期排序
#include #include #include #include using namespace std;#define MAXLINELENGTH 20#define YEAR 1970typedef struct DATE{ int year; int month; int day; int hour; int min; int sec;} DATE;
2015-07-14 23:16:17 557
原创 文件读写
#include #include #include #define MAXLINELENGTH 10void fileCopy(FILE *pfin,FILE *fout){ //复制第一行内容 char buffer[MAXLINELENGTH]={'\0'}; fgets(buffer,MAXLINELENGTH,pfin); printf("fil
2015-07-12 23:40:28 478
数字图像处理 计算机视觉
2013-02-28
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人