E-book details

Learn C Programming. A beginner's guide to learning the most powerful and general-purpose programming language with ease - Second Edition

Learn C Programming. A beginner's guide to learning the most powerful and general-purpose programming language with ease - Second Edition

Jeff Szuhay

Ebook
The foundation for many modern programming languages such as C++, C#, JavaScript, and Go, C is widely used as a system programming language as well as for embedded systems and high-performance computing. With this book, you'll be able to get up to speed with C in no time.
The book takes you through basic programming concepts and shows you how to implement them in the C programming language. Throughout the book, you’ll create and run programs that demonstrate essential C concepts, such as program structure with functions, control structures such as loops and conditional statements, and complex data structures. As you make progress, you’ll get to grips with in-code documentation, testing, and validation methods. This new edition expands upon the use of enumerations, arrays, and additional C features, and provides two working programs based on the code used in the book. What's more, this book uses the method of intentional failure, where you'll develop a working program and then purposely break it to see what happens, thereby learning how to recognize possible mistakes when they happen.
By the end of this C programming book, you’ll have developed basic programming skills in C that can be easily applied to other programming languages and have gained a solid foundation for you to build on as a programmer.
  • 1. Running Hello, world
  • 2. Understanding Program Structure
  • 3. Working with Basic Data Types
  • 4. Using Variables and Assignments
  • 5. Exploring Operators and Expressions
  • 6. Exploring Conditional Program Flow
  • 7. Exploring Loops and Iterations
  • 8. Creating and Using Enumerations
  • 9. Creating and Using Structures
  • 10. Creating Custom Data Types with Typedef
  • 11. Working with Arrays
  • 12. Working with Multi-dimensional Arrays
  • 13. Using Pointers
  • 14. Understanding Arrays and Pointers
  • 15. Working with Strings
  • 16. Creating and Using More Complex Structures
  • 17. Understanding Memory Allocation and Lifetime
  • 18. Using Dynamic Memory Allocation
  • 19. Exploring Formatted Output
  • 20. Getting Input From the Command Line
  • 21. Exploring Formatted Input
  • 22. Working with Files
  • 23. Using File Input and File Output
  • 24. Working with Multi-File Programs
  • 25. Understanding Scope
  • 26. Building Multi-File Programs with Make
  • 27. Creating Two Card Programs
  • 28. Appendix
  • Title: Learn C Programming. A beginner's guide to learning the most powerful and general-purpose programming language with ease - Second Edition
  • Author: Jeff Szuhay
  • Original title: Learn C Programming. A beginner's guide to learning the most powerful and general-purpose programming language with ease - Second Edition
  • ISBN: 9781801075114, 9781801075114
  • Date of issue: 2022-08-30
  • Format: Ebook
  • Item ID: e_2w6v
  • Publisher: Packt Publishing