Learning C by Example

by Agus Kurniawan 29. March 2015 09:32

thumbnail

I just released new book, Learning C By Example. This book help you how to get started with C programming. This book provides many code samples for illustration.

 

Table of Content

1. Development Environment
1.1 Getting Started
1.2 Compilers
1.2.1 Linux
1.2.2 Windows
1.2.3 Mac
1.3 Development Tools
1.4 Hello World
2. Basic C Programming Language
2.1 Common Rule
2.2 Declaring Variable
2.3 Assigning Variables
2.4 Comment
2.5 Input & Output on Console
2.6 Arithmetic Operations
2.7 Mathematical Functions
2.8 Comparison Operators
2.9 Logical Operators
2.10 Increment and Decrement
2.11 Decision
2.11.1 if..then
2.11.2 switch..case
2.12 Iterations
2.12.1 For
2.12.2 While
2.13 Struct
3. Array and Pointer
3.1 Array
3.1.1 Defining An Array
3.1.2 Basic Array Operations
3.2 Multidimensional Array
3.3 Pointer
3.3.1 Basic Pointer
3.3.2 Dynamic Array
4. Functions
4.1 Creating Function
4.2 Function with Parameters and Returning Value
4.3 Function with Array Parameters
4.4 Function and Pointer
5. I/O Operations
5.1 Getting Started
5.2 Reading Input from Keyboard
5.2.1 getchar() and putchar() functions
5.2.2 gets() and puts() functions
5.2.3 scanf() function
5.3 Reading Program Arguments
5.4 Writing Data Into A File
5.5 Reading Data From A File
6. String Operations
6.1 Concatenating Strings
6.2 String To Numeric
6.3 Numeric to String
6.4 String Parser
6.5 Check String Data Length
6.6 Copy Data
6.7 Exploring Characters
7. Building C Library
7.1 Getting Started
7.2 Writing C Library
7.3 Compiling and Testing
7.3.1 Static Library
7.3.2 Shared Library
8. Threading
8.1 Creating Thread
8.2 Thread ID
8.3 Terminating Thread
8.3.1 Terminating Itself
8.3.2 Terminating Others
8.4 Joining Thread
8.5 Thread Mutex
8.6 Condition Variables
8.6.1 Signaling
8.6.2 Broadcasting
9. Database Programming
9.1 Database Library for C
9.2 MySQL
9.3 Connection Test
9.4 CRUD (Create, Read, Update and Delete) Operations
9.4.1 Creating Data
9.4.2 Reading Data
9.4.3 Updating Data
9.4.4 Deleting Data
10. Socket Programming
10.1 Getting Local Hostname
10.2 Creating and Connecting
10.2.1 Server
10.2.2 Client
10.2.3 Testing
10.3 Data Transfer
10.3.1 Server
10.3.2 Client
10.3.3 Testing

 

How to Buy

You can get this book on the following online stores:

Lulu, http://www.lulu.com/shop/agus-kurniawan/learning-c-by-example/ebook/product-22104909.html

Amazon Kindle, https://www.amazon.com/dp/B00VC40E2M 

Google Play Books, https://play.google.com/store/books/details?id=1vayBwAAQBAJ 

Kobo Books, http://www.kobobooks.com/ebook/Learning-C-by-Example/book-aCTpV2b3jUmi2feETbBXZw/page1.html 

iBookStore, http://itunes.apple.com/us/book/isbn9781329023529

Tags:

Books | C/C++

blog comments powered by Disqus

About Agus Kurniawan

Agus Kurniawan

For more detail about me click here [V]

Please entry your name into my guestbook [V]

If you want to contact me, please go here [V]

Go here for my professional services [V]

My Books

Pycom WiPy 2.0 Development Workshop 

SparkFun ESP32 Thing Development Workshop Getting Started With BBC micro:bit

Getting Started With Raspberry Pi Zero W Espruino Pico Development Workshop

Getting Started with ASP.NET Core for OS X, Linux, and Windows  Arduino TIAN Development Workshop

SimpleLink Wi-Fi CC3200 LaunchPad Development Workshop  MicroPython for ESP8266 Development Workshop

Smart Internet of Things Projects  Arduino UNO WiFi Development Workshop

XBee Wi-Fi development workshop SparkFun Simblee BLE Development Workshop

Mengenal Microsoft Azure ML Getting Started with Windows 10 IoT Core for Raspberry Pi 3

Arduino and Genuino Zero Development Workshop Go and SQL Server Programming By Example

Arduino and Genuino MKR1000 Development Workshop  Mengenal Microsoft Azure IoT

Getting Started with Raspberry Pi 3 PHP and PostgreSQL Programming By Example

Arduino and Genuino 101 Development Workshop Getting Started with Raspberry Pi Zero

Getting Started with Arduino Wiring for Windows 10 IoT Core Getting Started with Wolfram Language and Mathematica for Raspberry Pi

Arduino Uno: A Hands-On Guide for Beginner Arduino Leonardo and Arduino Micro: A Hands-On Guide for Beginner

RedBearLab CC3200 Development Workshop The Photon Kit Development Workshop

Python Programming by Example Raspberry Pi LED Blueprints

Bluno Beetle Development Workshop BeagleBone Black Programming using Matlab

Arduino Programming using MATLAB Digispark USB Development Workshop

Near Field Communication (NFC) for Embedded Applications Arduino Development for OSX and iOS

SparkFun ESP8266 Thing Development Workshop Teensy Development Workshop

Getting Started with Windows 10 for Raspberry 2 NodeMCU Development Workshop

Getting Started with ASP.NET 5 for OS X, Linux, and Windows Getting Started with Windows Remote Arduino

Redis Programming by Example The Hands-on ARM mbed Development Lab Manual

Getting Started With STM32 Nucleo Development Getting Started with Windows IoT and Intel Galileo

Learning C by Example Getting Started with Raspberry Pi 2

Getting Started with Arduino and Go The Hands-on Arduino Yún Manual Lab

The Hands-on MEAN Lab Manual, Volume 1 Go Programming by Example

Getting Started with Scratch for pcDuino Raspberry Pi Wireless Networks

BeagleBone Black Programming by Example Database Programming Using R

Learning R in 120 Minutes The Hands-on Intel Edison Manual Lab

Getting Started with pcDuino3 TI ARM Cortex-M LaunchPad Programming by Example

Raspberry Pi I/O Programming using Python Getting Started with Intel IoT and Intel Galileo

Pemrograman Java Tingkat Lanjut PHP and MongoDB Programming By Example

ASP.NET SignalR Programming By Example KnockoutJS Programming by Example

Getting Started with Java ME Embedded 8 and Raspberry Pi XBee IEEE 802.15.4 Programming

Raspberry Pi System Programming for Beginner Backbone.js Programming By Example

PHP and SQL Server Programming By Example AngularJS Programming by Example

jQuery Programming by Example Getting Started with Arduino and Ruby

Raspberry Pi Command Line for Beginner Getting Started with Arduino and Python

MSP430 LaunchPad Programming TypeScript Programming by Example

Getting Started with Matlab Simulink and Arduino SQL Server for Node.js

Pocket Reference: Netduino for Beginner Database Programming using Matlab

Pocket Reference: Basic Sensors in Windows 8 Getting Started with Matlab Simulink and Raspberry Pi

Getting Started with Arduino and Java  Pocket Reference: Raspberry Pi Programming

Getting Started with Arduino and Matlab Getting Started with Arduino and .NET

Pocket Reference: Raspberry Pi Getting Started with Arduino and Node.js

MongoDB for VB.NET Panduan Praktis Windows Azure

Network Forensics: Panduan Analisis Dan Investigasi Paket Data Jaringan Menggunakan Wireshark Object-Relational Mapping (ORM): MongoDB, Mongoosejs and Node.js By Example

Nodejs Programming by Example MongoDB for by Example

Pemrograman Parallel Dengan MPI dan C Panduan Lengkap iPad 2 Untuk Pemula

Pemrograman Jaringan Dengan Java Aplikasi Pilihan iPad Untuk Anak-Anak

Buku lainnya [V]

Agus Kurniawan is Microsoft MVP (Most Valuable Professional)

Agus Kurniawan- Github Profile

Agus Kurniawan- Codeplex Profile

Follow Me

Follow agusk2010 on Twitter

Month List