U E D R , A S I H C RSS

개인키,공개키/노수민,신소영

~cpp 
#include<iostream> 
#include <fstream> 
using namespace std; 

void enpass()
{

	ifstream input("input.txt"); 
	ofstream output("output.txt"); 
	char a[100];
	int i=0;
	while( input.get(a[i]) )
	{
		output << (char) ((int) a[i] + 40);
		
		i++;
	}

	cout << endl;

}
void depass()
{
	ifstream input("output.txt"); 
	ofstream output("output2.txt"); 
	char a[100];
	int i = 0;
	while (input.get(a[i]) )
	{	
		output << (char) ((int)a[i]+216);
		i++ ;
	}
	cout << endl;	
}
int main() 
{ 
	//enpass();
	depass();


	return 0;
} 

Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2021-02-07 05:28:40
Processing time 0.0126 sec