Compiled machine code is normally smaller than your source code. But I can imagine that defining huge global initialized arrays inflates the EXE file. Otherwise I had to look into the project to tell you what the reason is.