您的位置:首页 > 其它

一个身份证号码转换程序

2007-07-16 12:55 274 查看
#include <iostream>
#include <fstream>
#include <cstdlib>
#include <assert.h>

#pragma warning(disable:4786)

using namespace std;

// 参数入口定义
#define IN
#define OUT
// 常用值定义
#define FALSE 0
#define TRUE !(FALSE)
const int MODIFY_SPLITER = 1;
const int MODIFY_LENGTH = 2;
// 对应表格定义
// 加权因子
// 校验码
// 函数声明

// 这个函数从OOP角度讲应该是private属性的
//----------------------------------------------------------------------//
void ChangeIDInLine(IN const char *source, OUT char *dest, IN unsigned int from);
/**//*


【source】: 以'
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐