<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Mathematics on AI VOID</title><link>https://ai-blog.noorshomelab.dev/tags/mathematics/</link><description>Recent content in Mathematics on AI VOID</description><generator>Hugo</generator><language>en</language><lastBuildDate>Mon, 03 Nov 2025 01:00:00 +0000</lastBuildDate><atom:link href="https://ai-blog.noorshomelab.dev/tags/mathematics/index.xml" rel="self" type="application/rss+xml"/><item><title>Chapter 16: Guided Project: Simple Command-Line Calculator</title><link>https://ai-blog.noorshomelab.dev/c-programming-guide/project-command-line-calculator/</link><pubDate>Mon, 03 Nov 2025 01:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/c-programming-guide/project-command-line-calculator/</guid><description>&lt;h1 id="chapter-16-guided-project-simple-command-line-calculator"&gt;Chapter 16: Guided Project: Simple Command-Line Calculator&lt;/h1&gt;
&lt;p&gt;Welcome to your first guided project! The best way to solidify your understanding of C programming is by building something practical. In this project, we will create a &lt;strong&gt;simple command-line calculator&lt;/strong&gt;. This will allow you to apply many of the concepts we&amp;rsquo;ve covered so far:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Functions:&lt;/strong&gt; To encapsulate arithmetic operations.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Control Flow:&lt;/strong&gt; For handling different operations and error conditions.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Data Types and Operators:&lt;/strong&gt; For performing calculations.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Command-Line Arguments (&lt;code&gt;argc&lt;/code&gt;, &lt;code&gt;argv&lt;/code&gt;):&lt;/strong&gt; For accepting user input.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;String to Number Conversion:&lt;/strong&gt; Using &lt;code&gt;atoi&lt;/code&gt; or &lt;code&gt;strtol&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The goal is to create a program that can be run from the terminal like this:&lt;/p&gt;</description></item></channel></rss>