Ok this is going to sound really stupid of me.
I found out why my .exe files are disappearing and why code blocks was acting off.
You guys were 1/2 right. My comp was infected....with my files
For some reason my AV (Bitdefender) was reading my .exe files as viruses and thus deleting them. And guess what My Laptop, my bros laptop, and our PC all have in common...the same AV (Bitdefender).
I thought I had checked the logs of my AV but I was going through them too fast (in frustration) that I must have missed them or not scrolled down enough to see.
So I went to my AV and excluded the folder I put all my code in.
Reinstalled Codeblocks
Now my .exe files dont vanish....because they dont exist heh. NOW every time I try to build a file it doesnt do anything. I click build but nothing happens. I clicked ctrl-f9 and nothing happens. I click build and run and it says:
"The file has not been built yet would you like to build it now?"
I click yes and nothing happens still.
The build log does not show anything. Just whitespace.
Here is the odd thing. When I close code blocks it gives me the option of saving my file. So I save it as a .cpp file (as if I was building it). I then go back and open this .cpp file to code block and click build and run.
Nothing happens again.
So it seems now when ever I click the build button it just doesnt work. I will continue to investigate but is there a know fix for something like this?
(Yes I triple checked and I DO have the mingw version so I should be able to compile. and GNU GCC Compiler is selected).