[ad_1]
I solved it. My problem was that I had two C compilers installed at the same time, the other one came along with Free Pascal. Found it out through checking every folder in my Path environment variable. Thanks for the replies.
[ad_2]
solved GCC compiler cannot find stdio.h