This tutorial refers to the layout of "C Programming Language" on the mainline of learning. According to the scientific and reasonable learning curve, the content is from shallow to deep, from easy to difficult. At the same time, some knowledge points are rationally selected and refined to be more streamlined. An easy-to-understand description that makes it easier for readers to understand
Description Of C Programming Language:
Introduction of C language
I believe that many beginners will come to Learn "C Programming" book when learning C language. This is a classic. This tutorial refers to the layout of "C Programming" on the mainline of learning. According to the scientific and reasonable learning curve, the content is from shallow to deep, from easy to difficult. At the same time, some knowledge points are rationally selected and refined to be more streamlined. An easy-to-understand description that makes it easier for readers to understand.
C language is the foundation of many programming languages. Many developers' entry skills and solid theoretical foundation are a decisive factor for future development. However, language is only a tool, after all, the algorithm is the core, and the idea is the soul. This tutorial arranges a large number of exercises on the knowledge points. I hope that the reader can learn the design ideas, learn the design algorithms, and learn to build the programs through practice.
However, in fact, pure theoretical knowledge learning is difficult to master a programming language, especially for beginners, learning from the practice is like a paper. The learning advantage of punchi.tech lies in the fact that in addition to the basic knowledge of the theory, it also matches the programming examples, which builds a new way of practicing in learning and learning in practice, and pursuing the high time-performance ratio of learning and application. C language tutorial contains content
1.C language introduction
2.C language environment configuration
3.C language variables
4.C language branch judgment
5.C language pointer
6.C language structure
7.C language file reading and writing
8.C language advanced operation
9.C language standard library
What is C language?
C language is a general-purpose computer programming language that is widely used. The C language is designed to provide a programming language that can be easily compiled, processed with low-level memory, generates a small amount of machine code, and runs without any runtime environment support.
Although the C language provides many low-level processing functions, it still maintains good cross-platform features. The C language program written in a standard specification can be compiled on many computer platforms, even including some embedded processors ( MCU) and supercomputer and other operating platforms.
In the 1980s, in order to avoid differences in the C grammar used by developers, the National Bureau of Standards established a complete set of international standard grammar for the C language, called ANSI C, as the initial standard for C.
What can C language do?
1. Operating system development
2. Software development
3. Embedded development
What are the advantages of C language?
1. Portability: C language is highly portable, you can run C programs on different platforms without changing or making small changes.
2. C language is very small: C language is completely based on variables, macro commands, functions, and architecture, the whole is very small, so C language can be embedded in almost all modern microprocessors, from the refrigerator to the alarm clock
3. Learn C to learn everything: Almost all programming languages are implemented in C language, or have the same grammar and logic rules as C language. Therefore, learning C language can make you learn other languages very quickly.
What are the disadvantages of C language?
1. Run time: C language does not have a runtime check mechanism
2. Process-oriented: C language does not support object-oriented programming, which is why C++ is created.
3. Insecure: Pointer is a major feature of C language. It can be said that C is an important reason for superiority to other high-level languages, but because it has pointers, it can directly operate close to the hardware, so it brings a lot of Safety factor
C language programming software introduction
Vc++6.0 (Visual C++): Visual C++ is a powerful visualization software development tool. Since Microsoft introduced Visual C++ 1.0 in 1993, with the release of its new version, vc++6.0 (Visual C++): Visual C++ is a powerful visualization software development tool. Since Microsoft introduced Visual C++ 1.0 in 1993, with the advent of its new version, Visual C++ has become the tool of choice for professional programmers to develop software. Although Microsoft introduced Visual C++.NET (Visual C++ 7.0), its application has great limitations and only applies to Windows 2000, Windows XP and Windows NT 4.0. So in practice, more is based on Visual C++ 6.0.
TurboC/C++v3.0: Turbo C++ 3.0 software is a powerful development tool developed by Borland in 1992 - C language programming and C++ object-oriented programming. It only needs to modify a setting option to design and compile program files designed in standard C and C++ syntax in the same IDE integrated development environment.
Dev-C++v5.10.0: Dev-C++ is a C++ development tool. It includes a multi-page window, a project editor, and an editor, compiler, linker, and executor in the project editor. It also provides a high-brightness syntax display to reduce editing errors.
Dev-C++ is an integrated development environment for C and C++ programs under Windows. It uses the MingW32/GCC compiler and follows the C/C++ standard. The development environment includes multi-page windows, project editors, debuggers, etc. The editor, compiler, linker, and executive program are assembled in the project editor to provide high-brightness syntax display to reduce editing errors and perfect Debugging function, suitable for different needs of beginners and programming experts, is the preferred development tool for learning C or C++!
CMake: CMake is a free multi-platform compilation tool designed to build, test and package software. CMake is a standalone configuration file used to control software using a simple platform and compiler compilation process. CMake generates native makefiles and workspaces, and you can use the compiler environment of your choice.
C-Free: C-Free is a specialized C/C++ integrated development environment (IDE) that supports multiple compilers. With this software, users can easily edit, compile, connect, run, and debug C/C++ programs. C-Free 4 has been greatly improved over the previous version.