"Snake" <ha***@rogers.com> writes:
Hi guys,
Iam trying to compile golf.c file which is in my c:\ drive using windows
comman.
Is golf.c C, or C++ ? If it is C, please ask in a C forum, such as
comp.lang.c .
Do you have a C or C++ compiler? If you do have a compiler, ask in a
forum specific to your operating system (windows, I assume)
If you do not have a compiler, you must install one. There are many
availible; I will list only one example: gcc, which may be
obtained for windows from any of:
http://www.bloodshed.net/devcpp.html
www.mingw.org
www.cygwin.org
so when I write cc golf.c ,it tells me " "cc" is not recognized as and
internal or extenral function command, operable program or bacth file."
what should I do? do I neded to change the path to something?!!
This part is platform-specific, and off-topic here. You will get
better help in a windows-specific forum. Roughly, you need to find
out where your C compiler is installed, and add its location to
your path, but it has been some time since I used a windows
machine, and I do not recall the commands to do this.