
Explore the bitmap file format in C by understanding the 14-byte header and 40-byte info header, signature 'BM', 24-bit RGB pixel data, and no compression for writing bmp files.
Define BITMAPFILEHEADER and BITMAPINFOHEADER in C with 14- and 40-byte headers, handle padding, and implement command-line width and height input for writing bitmap.bmp in binary.
Learn to create a BMP file in C by computing width, height, and row padding, building bitmap headers, and writing pixel data row by row using an RGB pixel struct.
Learn to implement a word frequency counter in C, while emphasizing fundamentals of software engineering and using ai to accelerate the development process.
Builds software development experience in C by modifying a binary search tree to store strings, parse text, extract words, and count frequencies, then retrieve the top 20 words; four-part course.
Modify an integer binary search tree to store string data (char*), using malloc, strcpy, strlen, and strcmp. Update insert, find, delete, and inorder traversal, and verify by compiling.
Read an input text file, convert all text to lowercase, and preprocess by replacing delimiters with spaces for a string BST word frequency counter in C.
Extracts words from input using strtok, inserts tokens into a binary search tree, and tracks word frequencies with a wordFreq counter. Handles delimiters, avoids duplicates, and demonstrates debugging steps.
Extract the 20 highest frequency words from a binary search tree using an initialized top-elements array and inorder traversal. Implement insertion logic resembling insertion sort in C and print results.
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:
Writing BITMAP file from Scratch in C
Understand .bmp file headers and do the implementation
RGB pixel data format and padding
Word Frequency Counter Program in C using Binary Search Tree (BST)
Modify 'integer BST' to store strings (char*)
Read and process text from .txt file
Store words and their frequency in BST
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.