Dr. Ehoneah Obedehoneahobed.hashnode.net·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...Chiagoziem Elgibbor and 5 others are discussing this6 people are discussing thisDiscuss·51 likes·20.2K readsC ProgrammingBash
Dr. Ehoneah Obedehoneahobed.hashnode.net·Nov 16, 2022Building a simple shell in C - Part 4Up until the end of Part 3 of the series, our shell was able to show a prompt for the end user to type some commands, read, parse and execute the command, except that the user had to explicitly provide the path for each command they wanted to execute...Olanrewaju Olamide and 3 others are discussing this4 people are discussing thisDiscuss·49 likes·4.3K readsC ProgrammingBash
Dr. Ehoneah Obedehoneahobed.hashnode.net·Nov 13, 2022Building a simple shell in C - Part 3Our simple shell that we build from parts one and two are only able to show the user a prompt, read what they type, parse it into separate strings, and print the individual strings. It is unfortunately unable to execute the commands that the user typ...Discuss·28 likes·21.6K readsC ProgrammingBash
J.betjebetcodes.hashnode.net·Apr 25, 2023CS50x - Week 2Introduction I have just completed the second week of the course, which focused on arrays. It has been an exciting and challenging week, as I learned the basics of working with arrays in the C programming language. What are arrays? Arrays are collect...DiscussHarvard CS50 course
Chiagoziem Elgibbor elgibbor.hashnode.net·Apr 24, 2023What happens when you type "gcc main.c" (C compilation process)Have you ever wondered what occurs behind the scenes when a C program is compiled? Everything begins with a single command: "gcc main.c". But what precisely happens when you press enter? In this post, we'll go over the C compilation process step by s...Discussc programming
Abdul-Samed Shaibushaibu.hashnode.net·Apr 22, 2023We practiced loops in C todayWe wrote a program that took the n terms of a natural number and calculates its sum, it works perfectly. #include <stdio.h> int main() { // print n terms of natural numbers int x; int n; int sum = 0; printf("input value: "); ...Discussc programming
George Brighthellobright.hashnode.net·Apr 18, 2023What #include, #define and others really do in your C ProgramA good majority of programmers (especially beginners) when starting in learning about the C language, often find it hard to understand essential concepts required for every C program to function correctly. This is not only experienced in the Compiled...Discuss·10 likesc programming
Godspower Mukorogmukoro.hashnode.net·Apr 13, 2023Demystifying the Step-by-Step Execution Process of a C ProgramHave you been wondering how files get executed in C and the files created in each stage until their actual execution? Here is its comprehensive breakdown. There are different stages involved in the execution of the C program. The stages are shown in ...Discuss·1 likeC
I_Bimmablog.hashnode.net·Apr 13, 2023My first project as a student at ALX SW ProgramAs a student of the ALX software program, one of my first projects was working with Emacs. Emacs is a powerful text editor widely used by programmers and developers around the world. This project requires dealing with a shell and using emacs as an ed...DiscussDeveloper
Abdul-Samed Shaibushaibu.hashnode.net·Apr 10, 2023A grading system for a hypothetical school written in C.The code takes in user score and prints out its corresponding grade.. // Online C compiler to run C program online #include <stdio.h> /* This is a grading system for a hypothetical school If Score is below 40 and not less than 0: Grade is an F if sco...DiscussGeneral Programming
Abdul-Samed Shaibushaibu.hashnode.net·Apr 10, 2023After two weeks of debugging The obesity calculator finally printed the expected output.I got frustrated whenever I run the code and the output was wrong, I almost gave up, glad I did not. A few minutes ago the obesity calculator I sought out to write two weeks ago finally printed the correct output, I'm elated, beyond measure. This cal...Discuss·27 readsGeneral Programming
Moses Samanthakurthijadenmaxi.hashnode.net·Apr 6, 2023C Language: The Foundation of System Software and Embedded Systems DevelopmentC language is a general-purpose programming language that was first developed in the early 1970s by Dennis Ritchie at Bell Labs. It is a procedural language that provides low-level access to system memory and hardware components. C is widely used in ...DiscussC
murayamuraya.hashnode.net·Apr 6, 2023Comparision of printf(), scanf(), getchar(), and putchar() functions in C programmingThroughout my learning of C programming, I come across two functions that made me feel so proud of myself every time I wanted to input or output text stream. I always had printf() () and scanf() in mind when working with C programming. The printf () ...Discuss·31 readsc programming