This is kind of a noobish question but is there a way to turn an .exe file into a source code that you can edit and if there is how.
Not really. You can disassemble the exe into assembly and then maybe find a program that converts the assembly to C++, but it's not going to be a good result even though you can edit it.
C++ Reverse Disassembly