| Line 1: |
Line 1: |
| − | == Source Code ==
| + | '''Source code''' is the statements and declarations, usually in human readable form, the specifies a computer program. Knowledge of programming is usually necessary in order to read and understand source code in a program. |
| − | Source code is the internal programming of a piece of [[software]]. In order to properly read and understand the source code in a program, a fundamental level of knowledge is needed in the programming language used. | |
| | | | |
| − | [[Open Source]] software is software that makes the source code freely avilable. | + | == Example == |
| | + | The following is an example of a C program that when compiled and executed prints the words "Hello world" to the screen. A C compiler and linker is necessary to compile the program and turn it into an executable. |
| | + | <pre> |
| | + | <nowiki> |
| | + | /* This is a C language program comment */ |
| | + | #include <stdio.h> |
| | + | #include <stdlib.h> |
| | + | main() |
| | + | { |
| | + | printf("Hello wolrd."); |
| | + | } |
| | + | </nowiki> |
| | + | </pre> |
| | + | |
| | + | |
| | + | == See also == |
| | + | *[[Software]] |
| | + | *[[Machine code]] |
| | + | *[[Open Source]] |