Автор: Slobodan Dmitrović
Издательство: Apress
Год: 2024
Страниц: 348
Язык: английский
Формат: pdf (true), epub (true), mobi
Размер: 10.1 MB
Learn the basics of C, the C standard library, and modern C standards. Complete with modern, up-to-date examples and screenshots, this new edition is fully updated and reworked with the latest C23 standards and features.
C is a language that is as popular today as it was decades ago. It can be used to program a microcontroller or to develop an entire operating system. Author Slobodan Dmitrović takes you on a journey through the C programming language, the standard library, and the C standards basics. Each chapter is the right balance of theory and code examples. Written in a concise and easy-to-follow manner, this book will provide you all the essentials needed to start programming in modern C.
C is often used for the so-called systems programming, which is operating systems programming, application programming, and embedded systems programming, to name a few. A large portion of Linux and Windows operating systems was programmed using C. C is often used as a replacement for an assembly language. C language constructs efficiently translate to the hardware itself.
o compile and run a C program, we need a C compiler. A compiler compiles a C program and turns the source code into an object file. The linker then links the object files together and produces an executable or library. For the most part, we say we compile the program and assume the compilation process results in an executable file we can run. At the time of writing, some of the more popular C compilers are:
• gcc – As part of the GCC toolchain
• Clang – As part of the LLVM toolchain
• Visual C/C++ compiler – As part of the Visual Studio IDE
• MinGW – A Windows port of the GCC
This book is divided into five parts. In Part 1, we cover the C language basics. Part 2 explains the C standard library, and Part 3 introduces us to modern C standards. Part 4 explains the dos and don’ts in modern C. The final part consists of the Appendices.
What You Will Learn:
Understand C programming language and C standard library fundamentals
Work with new C standards features
Study the basics of types, operators, statements, arrays, functions, and structs
Review the fundamentals of pointers, memory allocation, and memory manipulation
Take advantage of best practices in C
Who This Book Is For:
Beginner or novice programmers who wish to learn the C programming language. No prior programming experience is required.
Скачать Modern C for Absolute Beginners: A Friendly Introduction to the C Programming Language, Second Edition