|
A computer program and its source |
|
|
|
|
Written by Administrator
|
A computer program, sometimes also called an application or executable file, from the viewpoint of a user's computer files or more, as for example in a text editor. However, this is a file that is specific enough that after the opening will not access any data at all and just run the program. On your computer's hard drive containing a document both commercial as well as a spreadsheet program or the price list will be saved in the form of one or more files. It is not among them almost no difference [of course, beyond the content and the fact that you can run programs, and other files] - programs and other files can I send the same e-mail, delete, copy, and rename. This is of course an impact on their operation and never change their names or their disposal - but from the point of view of this article, program files and files of documents are in some respects very similar to each other.
File is in itself contains the instructions for the computer, which performs this at the time of its opening, which is launching the application. Very important for understanding the rest of this article is aware that in the computer program instructions for the computer are stored in the form of completely unreadable for humans. If open any program [program files have the extension. EXE or. Com] for example, in Notepad or WordPad, we would see the record completely illegible characters and random string of letters and numbers. However, this is a computer-readable form, and it is through the reading of these "characters" computer "knows" that you have to draw a frame on the screen, or view the assume cells in our payroll, which is created before the time. To the user this has no significance, however - such as opening the spreadsheet is not interested in knowing the contents of the EXE. We publish the computer just to run the program or game, and he does the rest.
However, it would be a mistake to believe that these "signs" are a direct result of working programmers. The. EXE [executable file, also known as] arises as a result of translating the code is intelligible to man into the machine by means of the so-called. compiler. A typical sequence of operations which is performed by a series of programmer: write code - compilation [ie translation of code into the computer], with the result that it is just that a program file, such as word processing, the new game, or a spreadsheet. Following is a compilation of links, namely the inclusion of previously developed modules, but for now the most important for our considerations is the writing duo - a compilation.
At this point, we come to a key concept for the article source code. That date is determined by the code written by the programmer, which in the course of compiling the file is created. The file or files containing these types of instructions are passed "by the compiler / linker, receiving as a result ready to use a computer program. Of course, in the "real" the instructions are different and there are many more. The point is to show the relationship between source code and file. EXE.
A good analogy to use in this space is compared to the dough, and the provision of ingredients. Similarly, for the provision of ingredients and anyone who has the necessary knowledge and skills, it can bake cake, cheesecake, having the same source codes, you can play the program, and also to make any changes in it. Simply add / remove the changes and re-compile the program. This could be a new function to add games, add a new function to delete a program or a bug, which causes such as suspension of the program. Or make a window pop up in another place. |