1. Create the source into a file with any text editor, for example: myprog.c
2. Compile it: gcc -Wall -W -pedantic -g -o myprog myprog.c
3. Run it: ./myprog
Linux generally comes installed with the free gcc compiler. MacOSX does too. But when you compile a program with gcc, it runs on the platform under which it was compiled. Therefore, programmers on OSX that need to deliver a Linux binary need to use gcc's cross-compiler mode to produce Linux binaries.
You could, if you had conio.h in linux, but you don't have, that's why.
There is very little difference in the C compiler between Unix and Linux; in some cases (the gcc compiler) it is the same. The differences come in when using system calls; some system calls do not exist in Unix or Linux, although most do. The program I work on compiles the same way (for the most part) between all commercial versions of Unix and several variants of Linux. In other words, the code is fairly portable across platforms.
C-compiler translates the C-source into Assembly or machine code. On the other hand, C-interpreter -- well, there is no such thing as C-interpreter.
Editor - edits text Compiler - compiles the program Linker - links the program Debugger - helps finding bugs
It depends on the editor.
Turbo C compiles c source. turbo c++ compiles c++ source code.
This question cannot be answered without seeing the source program.
Compiler is used to convert a language readable in user domain into the tasks which is understood by the machine. example: C++ compiler compiles program written in a langauge understood by user which compiles this to a task which can be executed by a computer's processor.
Compiler is used to convert a language readable in user domain into the tasks which is understood by the machine. example: C++ compiler compiles program written in a langauge understood by user which compiles this to a task which can be executed by a computer's processor.
The main reason for this is that C code compiles down to native machine code. Java bytecode needs to be run in the JVM, which may or may not compile it down to native code.
C++ compiles to native machine code whereas Java compiles to byte code which must run within the Java Virtual Machine. The extra layer of abstraction means that, comparing like for like, a C++ program will easily outperform its Java equivalent. Thus C++ is easily the faster of the two.