www.pudn.com > CipherSystem.rar > MyCipherSystem.cpp
#include "stdafx.h"
#include "MyCipherSystem.h"
#include "afx.h"
//////////////////////////////////////////////////////////////////////////////////////
//define my class
void EncryptSystem::GetData(const string& str)
{
text = "";
int i;
for (i=0; i<(int)str.length(); i++)
{
if (str[i] >= 'A' && str[i] <= 'Z') text += str[i] + 32;
else if (str[i] >= 'a' && str[i] <= 'z') text += str[i];
}
return;
}
//////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////