Is your encrypted stuff supposed to be 1 long number? or a string of words?
If it is a string you should input to a string then reverse the encryption.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#include <iostream>
#include <fstream>
void decrypt( std::string &text )
{
//reverse the encryption here...
}
int main()
{
std::ifstream in( "Text.txt" ); //encrypted txt
std::string text;
in >> text;
decrypt( text );
}