MinGW can't find my projects source file. i created a source file named "Check.c", since windows has a "txt" extension to txt files, it's ".c.txt"
I've also edited the "PATH" environment variable to MinGW\bin
gcc does indeed work, but it can't find my source file which is located in D:\
here are the errors:
C:\Users\Mike\gcc D:\Check.c -o final
gcc: error: D:\Check.c: No such file or diretory
gcc: fatal error: no input files
i even tried to add "txt" extension:
C:\Users\Mike\gcc D:\Check.c.txt -o final
D:\Check.c.txt: file not recognized:File format not recognized
collect2.exe error: ld returned 1 exit status
I tried to drag the src file to the cmd manually, still does the same error.
How do i fix this