Home>Article>Backend Development> What foundation is needed for C language?

What foundation is needed for C language?

anonymity
anonymity Original
2019-05-05 10:42:39 24014browse

C language is a general computer programming language with a wide range of applications. The design goal of the C language is to provide a programming language that can be easily compiled, handle low-level memory, generate a small amount of machine code, and can run without any runtime environment support.

What foundation is needed for C language?
Because C language is simple and easy to learn, it has become one of the introductory languages for learning programming. In the first year of college, C language-related learning courses have been arranged. It can be seen that learning C language does not require prerequisite courses and you can get started easily. Attached is a C language book suitable for beginners to learn. It includes: introduction to basic data types, operators and expressions, control flow, functions, pointers, data structures, input and output and other basic knowledge. If you can skillfully use the above C language rules, you can complete the content of introductory learning of C language.

Generally, you need to master the basic knowledge of microcomputer principles and the ability to read English. When learning a language, you need to be more hands-on, think more about debugging, be persistent, and most importantly, be interested.

As long as studentsmaster some methods, read more, write more, and overcome their psychological fear of difficulties,C language can be learned well and applied flexibly.

As for what books to read, here are a few recommended ones:
1. C Language Introduction Classic
"C Language Introduction Classic" has simple and life-like examples, and the analysis of each example is very detailed. The chapters are arranged reasonably, and the examples at the end of the chapters pay special attention to the guidance of ideas, and the analysis is particularly rewarding.
This book is a good book for the self-study process.
2.C primer plus
This book is very suitable for readers who want to learn C language systematically. Just like its name, it is a good introductory and advanced book. Each knowledge point in the book has many vivid and simple examples, and the corresponding operation results are given. In short, while reading this book, I felt like it was all in one go.
3.C and Pointers
This book, "Expert Programming" and "C Defects and Traps" can be called the three masters of C language (advanced books). Some of the content in this book is more suitable for people with a C foundation. For example, in the parts of ADT, recursion, pointers and arrays, the ideas described in the book are lacking in domestic textbooks. After reading this book, you can get a correct view of C language.
4.C Programming Language
It is unbelievable that such an introductory book on C language starts from hello world, but in a short space, it teaches you step by step how to write stdio.h stdlib. Most of the routines in h
string.h implement important data structures and algorithms such as binary search, quick sort, binary tree, and hash table. This book conveys simplicity, elegance, plainness and leisure.
5.C Expert Programming
"C Expert Programming" shows the coding skills used by the best C programmers, and has a dedicated chapter to introduce the basic knowledge of C. In the book, C's history, language features, declarations, arrays, pointers, links, runtime, memory, and how to further learn C are explained and analyzed in depth.

The above is the detailed content of What foundation is needed for C language?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn