Programs Always Freeze?

Ok, so this is really weird what keeps happening with my programs. I am using Microsoft Visual C++ 2010 Express. When I run a program the black command window comes up with the cursor flashing, and just freezes. It responds to nothing not even ctrl c. I used the task manager to eventually close it, and when I run the program again it works just fine, but if I try to do it again I get an error saying something like it can not write the file. I can try to get the error message again if needed. I think I am just going to delete the program because it seems like something got corrupted.
Topic archived. No new replies allowed.