What is the programming...?
Programming is the process of designing, coding, debugging andmaintaining the source code of computer programs. The source code is written in a programming language.The purpose of programming is to create programs that exhibit adesired behavior. The process of writing code often requiresexpertise in several distinct areas, in addition to language proficiency to use specialized algorithms and formal logic.
The program is governed by rules and a more or less reducedorders, expressions, statements and commands that tend toresemble a bounded natural language (English), and which have theparticularity of a reduced ambiguity. The less ambiguous is a programming language, it is said, is more powerful.
Programming and software engineering
The creation process of software, from the viewpoint of engineering,includes the following steps:
1.Recognize the need for a program to solve a problem or identify the potential for automation of a task.
2.Collect program requirements. It should be clear what you should dothe program and what is needed.
3.Analysing the program requirements. It should be clear how the program should make things to do. The tests check the validity of the program can be specified at this stage.
4.Designing the software architecture. Must be decomposed into parts of the program addressable complexity.
5.Implement the program. Is to perform a detailed design, completelyspecifying the program's operation, after which the coding(programming itself) should be immediate.
6.Deploy (install) program. Is to put the program in operation in conjunction with the components you need (databases, communication networks, etc..).
PROGRAMMING IN "C"
C is a programming language created in 1972 by Dennis M. Ritchieat Bell Labs as an evolution of earlier language B, in turn based onBCPL.
El C de Kernighan y Ritchie
In 1978, Ritchie and Brian Kernighan published the first edition of The C Programming Language, also known as The Bible of C.
Kernighan and Ritchie introduced the following language:
- The data type struct.
- The data type long int.
- The data type unsigned int.
- The = + and = - were replaced by + = and - = to disambiguatesyntactic expressions like i = -10, which could be interpreted either as i = - 10 or as i = -10.
Compiling a C program is conducted in several phases that are normally hidden by automated development environments:
- Preprocessing consists of modifying the source code in C as a set of instructions (called preprocessor directives) thus simplifying the work of the compiler. For example, one of the most important is the modification of the inclusions (# include) by the actual statements in the file indicated.
- Compilation generates object code from the code andpreprocessing.
- Linked object linking codes of the various modules and external libraries (such as system libraries) to generate the final executableprogram.