Can't compile c program with MinGW
Go to solution
Solved by fizzlesticks,
The compiler uses the file extension in order to know how to compile the file. Your file ends with .txt instead of .c. You should turn off hiding file extensions for known file types then remove the .txt from the filename. To do that open any directory in Windows explorer and hit alt then go to tools -> folder options -> view and uncheck the hide extensions for known file types box.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now