
Practical C Programming: Solutions for modern C developers to create efficient and well-structured programs
Category
Author
Publication
Packt Publishing
Used in everything from microcontrollers to operating systems, C is a popular programming language among developers because of its flexibility and versatility. This book helps you get hands-on with various tasks, covering the fundamental as well as complex C programming concepts that are essential for making real-life applications.
You'll start with recipes for arrays, strings, user-defined functions, and pre-processing directives. Once you're familiar with the basic features, you'll gradually move on to learning pointers, file handling, concurrency, networking, and inter-process communication (IPC). The book then illustrates how to carry out searching and arrange data using different sorting techniques, before demonstrating the implementation of data structures such as stacks and queues. Later, you'll learn interesting programming features such as using graphics for drawing and animation, and the application of general-purpose utilities. Finally, the book will take you through advanced concepts such as low-level programming, embedded software, IoT, and security in coding, as well as techniques for improving code performance.
By the end of this book, you'll have a clear understanding of C programming, and have the skills you need to develop robust apps.
About the Author
B. M. Harwani is the founder of Microchip Computer Education, based in Ajmer, India, which provides computer literacy in programming and web development to learners of all ages. He further helps the community by sharing the knowledge and expertise he's gained over 20 years of teaching by writing books. His recent publications include jQuery Recipes, published by Apress, Introduction to Python Programming and Developing GUI Applications with PyQT, published by Cengage Learning, The Android Tablet Developer's Cookbook, published by Addison-Wesley Professional, UNIX and Shell Programming, published by Oxford University Press, and Qt5 Python GUI Programming Cookbook, published by Packt.
- Discover how to use arrays, functions, and strings to make large applications
- Perform preprocessing and conditional compilation for efficient programming
- Understand how to use pointers and memory optimally
- Use general-purpose utilities and improve code performance
- Implement multitasking using threads and process synchronization
- Use low-level programming and the inline assembly language
- Understand how to use graphics for animation
- Get to grips with applying security while developing C programs
This intermediate-level book is for developers who want to become better C programmers by learning its modern features and programming practices. Familiarity with C programming is assumed to get the most out of this book.
- Working with Arrays
- Managing Strings
- Exploring Functions
- Preprocessing and Compilation
- Deep Dive into Pointers
- File Handling
- Implementing Concurrency
- Networking and Inter-process communication
- Sorting and Searching
- Working with Graphs
- Advanced Data Structures and Algorithms
- Creativity with Graphics
- Using MySQL Database
- General-Purpose Utilities
- Improving Performance of your Code
- Low-Level Programming
- Embedded Software and IoT
- Applying Security in Coding