Smaller C

Lean Code for Small Machines

Paperback Engels 2021 1e druk 9781098100339
€ 76,35
Levertijd ± 16 werkdagen
Gratis verzonden

Samenvatting

For makers looking to use the smallest microcontrollers or to wring the highest performance out of larger ones, the C language is still the best option. This practical book provides a solid grounding in C basics for anyone who tinkers with programming microcontrollers. You'll explore the many ways C enables developers and makers to get big results out of tiny devices.

Author Marc Loy shows you how to write clean, maintainable C code from scratch. This language and its cousin, C++, are still widely used to write low-level code for device drivers or operating systems. By understanding C syntax and its quirks, you'll gain an enduring computer language literacy that will help you pick up new languages and styles more easily.

- Learn C fundamentals, such as data types, flow control, and functions
- Explore memory management including how programs work on small devices
- Understand answers provided in online forums such as Reddit or Stack Overflow
- Write efficient, custom C code that's both readable and maintainable
- Analyze the performance of your code and weigh optimizations
- Evaluate third-party libraries for use in your own projects
- Create your own libraries to share with others

Specificaties

ISBN13:9781098100339
Taal:Engels
Bindwijze:paperback
Aantal pagina's:296
Uitgever:O'Reilly
Druk:1
Verschijningsdatum:30-6-2021
Hoofdrubriek:IT-management / ICT

Lezersrecensies

Wees de eerste die een lezersrecensie schrijft!

Inhoudsopgave

Preface
How to Use This Book
Conventions Used in This Book
Using Code Examples
O’Reilly Online Learning
How to Contact Us
Acknowledgments

1. The ABCs of C
Strengths and Weaknesses
Getting Started
Tools Required
Creating a C “Hello, World”
Compiling Your Code
Running Your Code
Next Steps

2. Storing and Stating
Statements in C
Statement Separators
Statement Flow
Variables and Types
Getting User Input
Strings and Characters
Numbers
Variable Names
Variable Assignments
printf() and scanf()
printf() Formats
Tailored Output
scanf() and Parsing Inputs
Operators and Expressions
Arithmetic Operators
Order of Operations
Type Casting
Next Steps

3. Flow of Control
Boolean Values
Comparison Operators
Logical Operators
Branching
The if Statement
The switch Statement
The Ternary Operator and Conditional Assignment
Loop Statements
The for Statement
The while Statement
The do/while Variation
Nesting
Nested Loops and Tables
Variable Scope
Exercises
Next Steps

4. Bits and (Many) Bytes
Storing Multiple Things with Arrays
Creating and Manipulating Arrays
Review of Strings
Multidimensional Arrays
Afgekapt op 60 regels

Managementboek Top 100

€ 76,35
Levertijd ongeveer 16 werkdagen
Gratis verzonden

Rubrieken

Producten

    Auteurs

      Trefwoorden

        Artikelen

          Smaller C