If you didn't changed anything i don't think that this is a c::b problem.
After this even the whole explorer crashes and i cant do anything anymore.
This looks like serious crash of some key componet on your system. Or c::b uses all CPU he can get. Can you see the CPU usage of codeblocks in the Task manager?
Have you tried to make a File system check? It could be possible that your file system is damaged.
Have you a Anti Virus tool? Can you try to disable it?
If this happens on every, also newly created project, I can also think of a corrupted config file of codeblocks. Close Codeblocks and try to rename the c:\Users\YOURUSERNAME\AppData\Roaming\Codeblocks\default.conf to old_default.conf afterwards start codeblocks again and look if the crash happens again.
greetings