Ashutosh Singhcodeaashu.hashnode.dev·Jun 8, 2024Understanding Huffman Coding in CIntroduction: Briefly explain Huffman coding and its importance in data compression. Code Overview: Define structures for nodes and the min heap. Implement functions for creating nodes, min heap operations, and building the Huffman tree. Functi...DiscussC
Ashutosh Singhcodeaashu.hashnode.dev·Jun 7, 2024Building an OTP-Based Login System in CIntroduction Introduce the concept of an OTP-based login system and its importance in enhancing security for user authentication. Code Overview Explain the structure of the code and its key components: User Structure: Define a structure to store use...DiscussC
Ashutosh Singhcodeaashu.hashnode.dev·Jun 7, 2024Creating a Simple Snake Game in CIntroduction Introduce the concept of the Snake game and its popularity as a classic arcade game. Explain that the blog will guide readers through creating a basic version of the Snake game in C. Code Overview Explain the structure of the code and it...DiscussC
Dr. Ehoneah Obedehoneahobed.hashnode.dev·Nov 9, 2022Building a simple shell in C - Part 1One of the projects I previously worked on as part of my software engineering training at ALX Arica was building a simple shell that mimics the Bash shell but with limited features. Recently, I have had a few people reach out to ask specific questio...Yusuf700 and 13 others are discussing this14 people are discussing thisDiscuss·178 likes·57.8K readsC ProgrammingBashThis is not a shell, only REPL. There is a big difference. Shell is a process that works with tty. 4
Dr. Ehoneah Obedehoneahobed.hashnode.dev·Oct 5, 2022Monty Bytecode Interpreter using CIn order to practicalize our knowledge of data structures like stacks and queues in C language, we were tasked with building a C program that acts as a Monty bytecode interpreter. What is the Monty Bytecode Interpreter This is a C program that will ...Discuss·16 likes·2.8K readsC Programmingc programming
Dheeraj Patidardheerajpatidar.hashnode.dev·Aug 27, 2022C Program to Delete an Element from an Array with ExplanationIn this post I'm gonna share you amazing unique C Program to Delete an Element from an Array. In order to clear all Basics of C Programming you can visit my Full C Programming Course for Free. Delete an Element from an Array Deleting an element does ...DiscussC
Dr. Ehoneah Obedehoneahobed.hashnode.dev·Jun 23, 2022What will this Recursive function in C Print and what is the logic behind it?#include <stdio.h> int display(int x) { if (x < 0) { return (0); } printf("%d", x + display(x - 1)); x--; return (x); } int main(void) { display(4); return (0); } To be able to find what the above program w...Discuss·2 likes·860 readsC Programmingc programming
Dr. Ehoneah Obedehoneahobed.hashnode.dev·Jun 12, 2022Functions & how to use them in C programming - Detailed ExplanationLet me start by using some analogies that you can easily understand, so we will build on them. What are functions in computer programming Do you remember how you were taught about verbs (action words)? For example, you know exactly what to do when I...Discuss·3 likes·1.2K readsC Programmingc programming
Dr. Ehoneah Obedehoneahobed.hashnode.dev·Jun 9, 2022Write a program in C that prints the first 50 Fibonacci numbers, starting with 1 and 2To be able to answer this question, you need to understand what a fibonacci number is and how to derive a fibonacci sequence. A fibnonacci number is any number in a sequence which happens to be the sum of the two preceeding numbers. This means that t...Discuss·3 likes·1.5K readsC Programmingc program
Dr. Ehoneah Obedehoneahobed.hashnode.dev·Jun 7, 2022Write a program that prints all possible combinations of single-digit numbers0, 1, 2, 3, 4, 5, 6, 7, 8, 9 The question is about writing a C program that produces the outcome above. There are several ways we can have a program to print all the possible combinations of single-digit numbers. In this tutorial, we will look at ho...Discuss·3 likes·5.8K readsC Programmingc programming