How would I make a program which converts a .txt file to an .exe file?
How would I make a program which converts a .txt file to an .exe file?
LOL!
Just change the extension of the filename. Yeh, that should work.
unless the text file has some sort of code in it, i dont know what you expect to accomplish by turning it into an exe...
I came up with a cool phrase to put down here, but i forgot it...
Lets just say I;m trying to get past school sercurity, they won;t let us download certain file extensions.
Oh man. I thought you winding us up!
In that case try (seriously) changing the extension to something that it allowed.
change .txt to .htm or .html
My Avatar says: "Stay in School"
Rocco is the Boy!
"SHUT YOUR LIPS..."
Um changing it! No because they have blocked the viewing of any extensions, heard of peekabooty, its a program which I changed the extension to txt so I could view other things at skool but they stopped people changing file extensions and accesing the tool options menu. It works on some computers but I am too lazy to really check each one, a program would be quicker.
Try this out. Just drop as many files into as needed gives em all a .txt extension, otherwise if someone clicks on it, they get a dummy "version checker" program ( thanx Sang~Drax ).
BTW: I had to change the file extention to upload it here Funny.
Code:#include <cmath> #include <complex> bool euler_flip(bool value) { return std::pow ( std::complex<float>(std::exp(1.0)), std::complex<float>(0, 1) * std::complex<float>(std::atan(1.0) *(1 << (value + 2))) ).real() < 0; }
Now I need a program which changes it back lol.
Code:#include <cmath> #include <complex> bool euler_flip(bool value) { return std::pow ( std::complex<float>(std::exp(1.0)), std::complex<float>(0, 1) * std::complex<float>(std::atan(1.0) *(1 << (value + 2))) ).real() < 0; }