This is the code repository for Practical C Programming, published by Packt.
Solutions for modern C developers to create efficient and well-structured programs
Practical C Programming will teach you how to deal with C and its idiosyncrasies, and benefit from its new features, through bite-sized recipes. Each recipe in the book addresses a specific problem through a discussion that reveals and explains the solution to the recipe. This book will teach all you need to know to become a better C programmer.
This book covers the following exciting features:
- Discover how to use arrays, functions, and strings to create large apps
- Perform preprocessing and conditional compilation for efficient programming
- Understand how to use pointers and memory optimally
- Use general-purpose utilities and improve the performance of the code
- Implement multitasking using threads and process synchronization
- Explore low-level programming and inline assembly language
- Understand how to use graphics for animation
- Implement security while developing C programs
- Establish communication between two or more processes using different techniques
If you feel this book is for you, get your copy today!
All of the code is organized into folders. For example, Chapter02.
The code will look like the following:
for(i=0;i<2;i++)
{
for(j=0;j<4;j++)
{
matR[i][j]=0;
for(k=0;k<3;k++)
{
matR[i][j]=matR[i][j]+matA[i][k]*matB[k][j];
}
}
}
Following is what you need for this book: If you’re a programmer with basic experience in C and want to leverage its features through modern programming practices, then this book is for you.
With the following software and hardware list you can run all code files present in the book (Chapter 1-18).
Chapter | Software required | OS required |
---|---|---|
1-18 | cygwin | Windows 8 or above |
13 | MySQL Community Server | Windows 8 or above |
We also provide a PDF file that has color images of the screenshots/diagrams used in this book. Click here to download it.
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.
Qt5 Python GUI Programming Cookbook
Click here if you have any feedback or suggestions.