Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Write BITMAP file & Word Frequency Counter programs in C
121 students

Write BITMAP file & Word Frequency Counter programs in C

Write .bmp file from Scratch in C and Implement Word Frequency Counter using Binary Search Tree in C
Last updated 3/2026
English

What you'll learn

  • Coding BITMAP file from Scratch in C
  • Coding Binary Search Tree to store C string (char*) data type
  • Use BST to implement Word Frequency counter
  • Reading text file and writing binary data to file

Course content

2 sections9 lectures1h 36m total length
  • Bitmap file format - theory2:31
  • Write Bitmap file headers - Coding11:38
  • Write Bitmap pixel data - Coding21:00

Requirements

  • C programming skills
  • Theoretical knowledge of Binary Search Tree

Description

In this course we will do live coding of:

1. Writing BITMAP file from Scratch in C

2. Word Frequency Counter Program in C using Binary Search Tree (BST).

While coding the programs, I am also sharing the thought process which goes on while implementing the logic. We will face compile-time, run-time errors and then we will resolve them.

.bmp file format is one of the very common uncompressed, raster digital image file format.

Binary Search Tree (BST) is one of the fundamental data structures used in software development. We use BST to implement Word Frequency Counter and get 20 highest frequency words from input text file.

In this course we will do hands-on coding of 2 programs:

  1. Writing BITMAP file from Scratch in C

    1. Understand .bmp file headers and do the implementation

    2. RGB pixel data format and padding

  2. Word Frequency Counter Program in C using Binary Search Tree (BST)

    1. Modify 'integer BST' to store strings (char*)

    2. Read and process text from .txt file

    3. Store words and their frequency in BST

    4. Extract top 20 high frequency words from BST

Different C concepts used during development:

malloc(), sizeof(), free(), typedef, structures, strtok, strcpy, strcmp, linked lists, gcc compiler, VS Code editor.

Who this course is for:

  • Entry level software engineers
  • C developers who want to work on real world software programs