Saturday, June 20, 2015

[Programming book Chapter 0] before.

So the calculation of the computer, is not it? While we listen to music, watch videos, play games, do more of the work. In the end, the computer actually understands the zero (0) and one (1) account. So the user (user) whatever happens, but the computer does the calculations. The main reason behind the widespread use of computers with a variety of different types of software on the computer can be done. The software is programmed by entering the key is the key that will instruct the computer to program it. At one time, but was only 0 and 1 using the computer to write programs. Because the computer is 0, 1 do not know anything else, and if you want to carry out any work with the computer language in which he will direct the work. 0, 1 using the programming was, for him, that the language used is called machine language. Then came the assembly language. Some programs, such as the instruction ADD (add), MUL (multiplication), and gets the chance to use. And the language of 0, 1, was in charge of ayasembalarera on hold, programmers do not have to think about. But it is not the end of human needs. The result is the emergence of new things and new needs. Those who were once working in Assembly language is going to be trouble. So, easier and better to write large programs in a variety of programming languages. - Such as Fortran (Fortran), Basic (Basic), Pascal (Pascal), C (C). It does not end here, then came more languages, which is one of the, C Plus Plus (C ++), Visual Basic (Visual Basic), Java (Java), C Sharp (C #), Perl (Perl), PHP (PHP) , Python (Python), Ruby (Ruby). Computer scientists have yet to create innovative programming language. Programmers write programs using the language and each language has a different compiler, whose job is to convert the program into the computer understands, so it does not think about the programmers. The program has three main work is to the time of writing programmer. First of all to understand what he is going to do that, I mean what the program actually works. Then thinking and reasoning (logic) is to set an algorithm. I mean, lajikagulo step is to decorate. The following algorithm to convert a programming language, which we call coding. Different language is more suitable for different types of work. In this book we will try to learn some of the basic programming we write programs using the C language. I assume, that you are accustomed to using the computer and complete unfamiliar with programming. The reason behind using the C language, the language is quite old but very strong and popular. Very useful for understanding the fundamentals of programming in C language. Very few of the most popular programming language that can be used in the competition, in C major. We are not going to learn everything about C However, it will only need to make fundamental decisions. After reading this book, you can just read a book for C or another language (such as C + +, Java or Python), you can start. I have something that brings in the appendix of the book, which will be useful to you. There are three things you need to read the book, computer (internet connection), a C compiler, and not enough time. Do not rush to take two to three months after the book was better. Reading alone is not enough to learn programming, as well as the need to be encoded. Each book also has its own code to the computer to see. Whenever any question I'll have to think about it. If for two or three hours it takes two or three days did not mean any harm, but rather a long time to figure out how to solve any problems in practice too. Before starting to read the next section to section can not be completely understood. If any part is very easy to you, is not properly a part of the programs that do not go away, but the next part. General paralikhara learn programming differences. Here is necessary to work with the reading. And reading this book, but you can not be a programmer, book reading, you will start to be a programmer. Let's come to, where will the compiler? There are many compilers for C. If you are using Mac or Linux, but like most of the gcc. Most Linux distributions are installed. If you do not have to install it on your computer. And if you're using Windows Codeblocks (http://www.codeblocks.org/) can use. This is a free and open source IDE (Integrated Development Environment) and Mac and Linux. Normally the ordinary in any text editor (such as Notepad, gedit, keraita) and compile it using the code then can be run. But most of the IDE (IDE) by selecting the custom text editor and compiler. Are able to run the program. In addition, there are different types of tools. You can download and install directly from the site at Codeblocks http://www.codeblocks.org can. You have two options for the Windows Downloads page on Binaries- see: codeblocks-10.05-setup.exe and codeblocks-10.05mingw-setup.exe. The second is that you download (74.0 MB). And the same way you would install any other software. Those who use Ubuntu, the Ubuntu Software Center (Applications> Ubuntu Software Center), you can download it from. Programming agendas. There are several websites on the Internet, where there are plenty of problems to solve with the help of the program. You can also everywhere in C Programming Language. Some of these sites also organizes regular programming contests. Participating in the competition will increase your programming skills, with the countries in the world allow programmers mesarao. However, to do well in the competition will not only be janalei programming, mathematical skills are important enough. We will talk about programming contests at Appendix. I have a number of books under each program. If the program number is .5, which means it is the second chapter to the fifth program. This is not a story book. Can not read the trough. The book will be read on the computer and the program with examples of each type to see if any solve the problem to try to solve it immediately. Remember, the more joy than programming. I hope you will read the chapters with patience and see all the programs on your machine. Best wishes.

No comments:

Post a Comment