Learn C Programming
eBook - ePub

Learn C Programming

  1. 742 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Learn C Programming

About this book

Get started with writing simple programs in C while learning core programming concepts

Key Features

  • Learn essential C concepts such as variables, data structures, functions, loops, and pointers
  • Grasp the core programming aspects that form the base of many modern programming languages
  • Work with updated code samples and cover array declaration and initialization in detail in this new edition

Book Description

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.

What you will learn

  • Implement fundamental programming concepts through C programs
  • Understand the importance of creating complex data types and the functions to manipulate them
  • Develop good coding practices and learn to write clean code
  • Validate your programs before developing them further
  • Use the C Standard Library functions and understand why it is advantageous
  • Build and run a multi-file program with Make
  • Get an overview of how C has changed since its introduction and where it is going

Who this book is for

If you're an absolute beginner who has basic familiarity with operating a computer, this book will help you learn the most fundamental concepts and practices that you need to know to become a successful C programmer. If you're an experienced programmer, you'll find the full range of C syntax as well as common C idioms covered in the book useful.

]]>

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription.
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes! You can use the Perlego app on both iOS or Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Yes, you can access Learn C Programming by Jeff Szuhay in PDF and/or ePUB format, as well as other popular books in Computer Science & Computer Science General. We have over one million books available in our catalogue for you to explore.

Table of contents

  1. Learn C Programming
Second Edition
  2. Contributors
  3. Preface
  4. Part 1: C Fundamentals
  5. Chapter 1:Running Hello, World!
  6. Chapter 2: Understanding Program Structure
  7. Chapter 3: Working with Basic Data Types
  8. Chapter 4: Using Variables and Assignments
  9. Chapter 5: Exploring Operators and Expressions
  10. Chapter 6: Exploring Conditional Program Flow
  11. Chapter 7: Exploring Loops and Iterations
  12. Chapter 8: Creating and Using Enumerations
  13. Part 2: Complex Data Types
  14. Chapter 9: Creating and Using Structures
  15. Chapter 10: Creating Custom Data Types with typedef
  16. Chapter 11: Working with Arrays
  17. Chapter 12: Working with Multi-Dimensional Arrays
  18. Chapter 13: Using Pointers
  19. Chapter 14: Understanding Arrays and Pointers
  20. Chapter 15: Working with Strings
  21. Chapter 16: Creating and Using More Complex Structures
  22. Part 3: Memory Manipulation
  23. Chapter 17: Understanding Memory Allocation and Lifetime
  24. Chapter 18: Using Dynamic Memory Allocation
  25. Part 4: Input and Output
  26. Chapter 19: Exploring Formatted Output
  27. Chapter 20: Getting Input from the Command Line
  28. Chapter 21: Exploring Formatted Input
  29. Chapter 22: Working with Files
  30. Chapter 23: Using File Input and File Output
  31. Part 5: Building Blocks for Larger Programs
  32. Chapter 24: Working with Multi-File Programs
  33. Chapter 25: Understanding Scope
  34. Chapter 26: Building Multi-File Programs with Make
  35. Chapter 27:Creating Two Card Programs
  36. Appendix
  37. Epilogue
  38. Assessments
  39. Other Books You May Enjoy