1st Edition

Learn Programming with C An Easy Step-by-Step Self-Practice Book for Learning C

    580 Pages 158 Color & 303 B/W Illustrations
    by Chapman & Hall

    580 Pages 158 Color & 303 B/W Illustrations
    by Chapman & Hall

    580 Pages 158 Color & 303 B/W Illustrations
    by Chapman & Hall

    Authored by two standout professors in the field of Computer Science and Technology with extensive experience in instructing, Learn Programming with C: An Easy Step-by Step Self-Practice Book for Learning C is a comprehensive and accessible guide to programming with one of the most popular languages.

    Meticulously illustrated with figures and examples, this book is a comprehensive guide to writing, editing, and executing C programs on different operating systems and platforms, as well as how to embed C programs into other applications and how to create one’s own library. A variety of questions and exercises are included in each chapter to test the readers’ knowledge.

    Written for the novice C programmer, especially undergraduate and graduate students, this book’s line-by-line explanation of code and succinct writing style makes it an excellent companion for classroom teaching, learning, and programming labs.

    Preface

    Chapter 1: Introduction

      1. History of Programming Language
      2. Different Types of Programming Language
      3. Importance of Programming
      4. C Program Structure
      5. Step-by-Step Tutorial to Run a C Program
      6. Keywords
      7. Identifiers
      8. Operators
      9. Operator Precedence in C
      10. Variables
      11. Constants
      12. Escape Sequences
      13. Data Types
      14. Type Casting
      15. Examples

    Exercises

      • MCQ with Answers
      • Questions with Short Answers
      • Problems to Practice

    Chapter 2: Flow-Control

      1. if Statement
      2. if..else Statement
      3. Nested if..else Statement
      4. Conditional Operator
      5. for Loop
      6. while Loop
      7. do..while Loop
      8. continue Statement
      9. break Statement
      10. switch..case Statement
      11. goto Statement
      12. Examples

    Exercises

      • MCQ with Answers
      • Questions with Short Answers
      • Problems to Practice

    Chapter 3: Arrays and Pointers

      1. Arrays
      2. 2-D arrays
      3. Multidimensional arrays
      4. String
      5. String Function
      6. Pointers
      7. Memory Allocation
      8. Examples

    Exercises

      • MCQ with Answers
      • Questions with Short Answers
      • Problems to Practice

    Chapter 4: Functions

      1. Function Types
      2. Function Structure
      3. Function Call
      4. Arrays and Functions
      5. Pointers and Functions
      6. Storage Class
      7. Examples

    Exercises

      • MCQ with Answers
      • Questions with Short Answers
      • Problems to Practice

    Chapter 5: Structure and Union

      1. Structure
      2. Union
      3. enum
      4. Data Structure and Algorithm
      5. Linked List
      6. Types of Linked List
      7. Examples

    Exercises

      • MCQ with Answers
      • Questions with Short Answers
      • Problems to Practice

    Chapter 6: File Management

      1. File Types
      2. File Operations
      3. Preprocessors
      4. Conditional Compilation
      5. Examples

    Exercises

      • MCQ with Answers
      • Questions with Short Answers
      • Problems to Practice

    Chapter 7: C Graphics

      1. Introduction
      2. Functions
      3. Color Table
      4. Fonts of Text
      5. Fill Patterns
      6. Including graphics.h in CodeBlocks
      7. Examples

    Problems to Practice

    Chapter 8: C Cross-Platform

      1. Creating Own Library
      2. Turbo C
      3. Visual Studio Code
      4. Visual Studio
      5. Command Line
      6. Command Line Arguments
      7. Linux
      8. Embedding C Code into MATLAB
      9. Integrating C Code into Python
      10. Switching from One Language to Another
      11. Transition to C++ or C# from C

    Chapter 9: C Projects

    Biography

    Sazzad M.S. Imran, Ph.D. is a Professor in the Dept. of Electrical and Electronic Engineering, University of Dhaka, Bangladesh. He completed his B.Sc. and M.S. degrees in Applied Physics, Electronics & Communication Engineering from the University of Dhaka and received his Ph.D. degree from the Optical Communication Lab of the Kanazawa University, Japan. Dr. Imran has vast experience in teaching C/C++, Assembly Language, MATLAB, PSpice, AutoCAD, etc. at the university level.

    Md Atiqur Rahman Ahad, Ph.D., SMIEEE, SMOPTICA is an Associate Professor of Artificial Intelligence and Machine Learning, University of East London, UK; and a Visiting Professor of Kyushu Institute of Technology, Japan. He worked as a Professor at University of Dhaka and Specially Appointed Associate Professor at Osaka University. He has authored/edited 14+ books and published 200+ peer-reviewed papers (More at http://ahadvisionlab.com).