SS said:
ok.
I downloaded a free borland compiler.
double clicked the icon for what I think is the compiler
and a window opened and closed so fast I coulnt see what
was in it?
Do I use the compiler to write the program?
or do I write the program in something like note pad?
if I write it in note pad how does the compiler read it?
Firstly, you should write your reply below the quoted text, and
snip away any irrelevant material such as the signature. This is
just good etiquette on Usenet. What you did is called
top-posting, and can get you lots of flames.
Secondly, questions about specific compilers and how to use
them are off-topic on comp.lang.c, because this newsgroup
discusses the C language itself as an abstract thing, rather
than discussing any particular implementation of it.
You should read the documentation for your compiler, and ask
questions about it in the appropriate forum, such as an email
list or newsgroup dedicated to the particular compiler.
However, I can tell you that the window opened and closed
because it is a command-line program that does nothing unless
invoked with the correct command line arguments (such as a
file name to compile). What you should do is open a Command
Prompt window to issue compile commands from. Become familiar
with the basics of the command prompt on your computer, such
as how to change to a particular directory (folder).
For my free borland compiler I type something like:
bcc32 program.c
and then it will load the file program.c in the current
directory, compile it, and output a file program.exe which
you can run. You must have saved the file program.c (or
some other name, but the .c extension is important).
You will need some editor to write programs in; Notepad will
do in a pinch, but there are much better alternatives available
to download.