This is a joke program I decided to put together after watching this Enderman video. I decided to make a fake BAT to EXE compiler popup just for fun.
You should have g++
installed as part of MinGW. If you don't have MinGW, go install it!
Once that's done, run build.bat
(wow, a batch file, how ironic)
fce.exe
will now be available. You can rename this to whatever you want.
The header file main.hpp
allows you to change certain text strings.
static const char* BatchString =
"echo Hello, World!\n"
"pause";
Change the actual string after the =
, and make sure you leave a \n
at the end of your string, otherwise it'll act as if it's all on one line.
If the batch script you're using contains @echo off
, remove it -- not only is it unnecessary here, it can result in the file not running at all.
static const char* CorrectKey =
"FUX42-BUTIS-WELC0-METOW-IND0W";
This can be anything, it doesn't have to follow the XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
guideline.