I have installed cygwin in Windows
How can I execute a c file in Windows?
I have installed cygwin in Windows
How can I execute a c file in Windows?
As in compile a C program?
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)
You need to point netbeans to the bin and lib directories of cygwin. I don't remember, but I though netbeans had an option to do that for you automatically.
Devoted my life to programming...
Windows is not catching GCC at all, when I execute:
gcc --version
I get the message GCC not recognized in cm
Instead of hassling with Cygwin you may be better off using Windows subsystem for Linux (assuming you have Windows 10)
Install Windows Subsystem for Linux (WSL) on Windows 10 | Microsoft Docs
make sure you are in the directory containing gcc.exe or set your path as a global variable. You could also try: Getting Started | MinGW
"without goto we would be wtf'd"