I'm a total newbie at programming. I just started learning C/C++, I have no problem understanding the language, but when it comes to compiling I'm completely lost (my book has nothing about this). For example, let's say I have a very simple program called test.c
I installed Cygwin (as I really need the GSL library), I put my file in the C:\cygwin\home\user folder. I open Cygwin.exe, enter the command;
gcc -o test test.c
And I get a .exe file. It seems to work fine. Now I try with the file, but with NetBeans. I install everything, it seems to work fine, but th
mkdir -p build/Debug/Cygwin-Windows gcc.exe -c -g -o build/Debug/Cygwin-Windows/test.o test.c Build successful. Exit value 0.
But I don't get any .exe file, and I don't have a "run" option for the file, I can only compile it. The only thing I get is my initial .c file and a .o file.
Thank you.


Sign In
Create Account

Back to top









