This is the code repository for C Programming Cookbook, published by Packt.
Over 40 recipes exploring data structures, pointers, interprocess communication, and database in C
C is a high-level language popular among developers. It enables you to write drivers for different devices, access machine-level hardware, apply dynamic memory allocation, and much more. With self-contained tutorials, known as recipes, this book will guide you in dealing with C and its idiosyncrasies and help you benefit from its latest features.
This book covers the following exciting features:
- Manipulate single and multi-dimensional arrays
- Perform complex operations on strings
- Understand how to use pointers and memory optimally
- Discover how to use arrays, functions, and strings to make large applications
- Use arrays, functions, and strings for making large applications Implement multitasking using threads and communicate between processes Apply networking concepts in communication Store simple text into files and store data into a database
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-8).
Chapter | Software required | OS required |
---|---|---|
1-7 | cygwin | Windows 8 or above |
8 | 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 that provides computer literacy in programming and web development to learners of all ages. He further helps the community by sharing his knowledge and expertise of over 20 years of teaching through 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 & 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.