C Programming

(C-PROGRAM.AE1) / ISBN : 978-1-64459-477-3
Lessons
Lab
Get A Free Trial

About This Course

The C Programming course takes you through the core elements of coding, covering everything from understanding basic concepts like variables and control structures to mastering advanced topics like functions and memory management. Designed for simplicity, this course establishes a strong foundation, empowering you to create efficient and effective C programs.this course provides a sturdy foundation, empowering you to write efficient and effective C programs.

Skills You’ll Get

1

Introduction

  • Why the C Language?
  • The C Programming For Dummies Approach
  • How This Course Works
  • Icons Used in This Course
2

A Quick Start for the Impatient

  • What You Need to Program
  • Command Prompt Programming
  • IDE Programming
  • Your First Program
3

The Programming Thing

  • The History of Programming
  • The Programming Process
4

Anatomy of C

  • Parts of the C Language
  • Behold the Typical C Program
5

Trials and Errors

  • Display Stuff on the Screen
  • More Text Output Nonsense
6

Values and Simple Math

  • A Venue for Various Values
  • The Computer Does the Math
7

A Place to Put Stuff

  • Values That Vary
  • Variable Madness!
  • Constants Always the Same
8

Input and Output

  • Character I/O
  • Text I/O, but Mostly I
9

Decision Making

  • What If?
  • Multiple Decisions
  • Multiple Comparisons with Logic
  • The Old Switch Case Trick
  • The Weird ?: Decision Thing
10

Loops, Loops, Loops

  • A Little Déjà Vu
  • The Thrill of for Loops
  • The Joy of the while Loop
  • Loopy Stuff
11

Fun with Functions

  • Anatomy of a Function
  • Functions and Variables
  • Constants of the Global Kind
12

The Unavoidable Math Lesson

  • Math Operators from Beyond Infinity
  • Math Function Mania
  • It’s Totally Random
  • The Holy Order of Precedence
13

Give Me Arrays

  • Behold the Array
  • Multidimensional Arrays
  • Arrays and Functions
14

Fun with Text

  • Character Manipulation Functions
  • String Functions Galore
  • Fun with printf() Formatting
  • Gently Down the Stream
15

Structures, the Multivariable

  • Hello, Structure
  • Weird Structure Concepts
16

Life at the Command Prompt

  • Conjure a Terminal Window
  • Arguments for the main() Function
  • Time to Bail
17

Variable Nonsense

  • Variable Control
  • Variables, Variables Everywhere
18

Binary Mania

  • Binary Basics
  • Bit Manipulation
  • The Joy of Hex
19

Introduction to Pointers

  • The Biggest Problem with Pointers
  • Sizing Up Variable Storage
  • The Hideously Complex Topic of Pointers
20

Deep into Pointer Land

  • Pointers and Arrays
  • Strings Are Pointer-Things
  • Pointers in Functions
21

Memory Chunks and Linked Lists

  • Give Me Memory!
  • Lists That Link
22

It’s About Time

  • What Time Is It?
  • Time to Program
23

Permanent Storage Functions

  • Sequential File Access
  • Random File Access
24

File Management

  • Directory Madness
  • Fun with Files
25

Beyond Mere Mortal Projects

  • The Multi-Module Monster
  • Other Libraries to Link
26

Out, Bugs!

  • Simple Tricks to Resolve Problems
  • The Debugger
  • Improved Error Messages
27

Ten Common Boo-Boos

  • Conditional Foul-Ups
  • == v. =
  • Dangerous Loop Semicolons
  • Commas in for Loops
  • Missing break in a switch Structure
  • Missing Parentheses and Curly Brackets
  • Don’t Ignore a Warning
  • Endless Loops
  • scanf() Blunders
  • Streaming Input Restrictions
28

Ten Reminders and Suggestions

  • Maintain Good Posture
  • Use Creative Names
  • Write a Function
  • Work on Your Code a Little Bit at a Time
  • Break Apart Larger Projects into Several Modules
  • Know What a Pointer Is
  • Add Whitespace before Condensing
  • Know When if-else Becomes switch-case
  • Remember Assignment Operators
  • When You Get Stuck, Read Your Code Out Loud
A

Appendix A: ASCII Codes

B

Appendix B: Keywords

C

Appendix C: Operators

D

Appendix D: Data Types

E

Appendix E: Escape Sequences

F

Appendix F: Conversion Characters

G

Appendix G: Order of Precedence

1

A Quick Start for the Impatient

  • Building a Project and Running a File
  • Writing the Source Code
  • Displaying Current Time and Day of the Week
  • Writing Text to a File
  • Finding a Specific Record in a File
  • Separating Files from Directories
  • Creating and Renaming a File
  • Linking Two Source Code Files
  • Creating a Debugger Target Build
  • Using Debugger to Watch Variables
2

Anatomy of C

  • Displaying the Result of Multiplication of Two Numbers
3

Trials and Errors

  • Displaying a Rhyme Using the puts() Function
  • Spotting Errors in the Code
4

Values and Simple Math

  • Using Conversion Characters
  • Minding the Extra Zeros
  • Using the Multiplication Operator
  • Using the Addition Operator
5

A Place to Put Stuff

  • Working with a Variable
  • Declaring Multiple Variables
  • Using a Constant
6

Input and Output

  • Fetching Characters Using getchar()
  • Working with Character Variables
7

Decision Making

  • Making a Comparison Using the if Keyword
  • Using the Assignment Operator
  • Using the if-else Structure
  • Constructing a Meal Plan Using a Switch-Case Structure
8

Loops, Loops, Loops

  • Counting with the for Statement
  • Generating a 3-Letter Acronym
  • Using a While Loop
9

Fun with Functions

  • Using Local Variables in a Function
  • Passing a Value to a Function
  • Putting Defined Constants to Use
10

The Unavoidable Math Lesson

  • Counting Up and Down
  • Displaying Modulus Values
  • Converting from Radians to Degrees
11

Give Me Arrays

  • Finding Square of Array Elements
  • Displaying the Stock Market Closing Numbers
  • Sorting an Array Using Bubble Sort
  • Creating a Three-Dimensional Array
12

Fun with Text

  • Changing Characters
  • Displaying the First and Last Names
13

Structures, the Multivariable

  • Making an Array of Structures
  • Putting Structures Within Structures
14

Life at the Command Prompt

  • Quitting the Program
15

Variable Nonsense

  • Using Typedef to Define a Structure
16

Binary Mania

  • Displaying Binary Values
  • Using the Bitwise | Operator
  • Using the Bitwise & Operator
17

Introduction to Pointers

  • Reading a Variable Size
  • Reading an Array Size
  • Reading a Structure Size
  • Assigning Values by Using a Pointer
18

Deep into Pointer Land

  • Displaying Array's Element and their Values
  • Building an Array of Pointers
  • Using Pointers to Display a String
  • Swapping the Values of Two Integer Variables
19

Memory Chunks and Linked Lists

  • Allocating Space Using the Malloc Function
  • Traversing a Linked List

Related Courses

All Course
scroll to top