I wrote a simple hello world program that should print hello to the console. I compiled it using gcc. Once I tried to run the .exe file it created a little blue spinner next to my mouse pointer and it doesn't go away. I've tried to kill the process using taskkill (I'm on windows7) but it's not working. Perhaps there's a bug in the code?
Things I've tried:
ending the process from windows task manager
taskkill /IM helloworld.exe /f
tl;dr A hello world program won't exit even using taskkill
#include <stdio.h>
int main(){
printf("Hello world");
return 0;
}