المشاركات

عرض المشاركات من أكتوبر, 2024

Day 15: Bool & Void

صورة
 

Day 14: Char & ASCII Value

صورة
 

Day 13: Float & Double

صورة
 

Day 12: Sizes & Memory

صورة
 

Day 11: Escape Sequences Characters

صورة
 

Day 10: My first application: Calculate Your Age Application

صورة
 

Day 9: Variables Constant Variable

صورة
 

Day 8: Variables Scope

صورة
 

Day 7: Variables Naming Rules & Best Practices

صورة
 

Day 6: Variables Basic Knowledge

صورة
 Day 6: Mastering Loops in C++

Day 5: Variables Basic Knowledge

صورة
 Day 5: Learning Control Flow with Conditional Stateme

Day 4: Writing My First C++ Program

صورة
Day 4: Writing My First C++ Program Today, I wrote my first real C++ program! It’s a simple “Hello, World!” program, but it felt like a big step forward. I got to use all the basics: input-output streams, the main function, and the cout command. It felt great to finally see my first C++ program run successfully. It’s an exciting moment when you see the output on the screen for the first time. I’m ready to move on to more complex things now! Sample Code for Day 4 Here’s the “Hello, World!” program I wrote # include <iostream> u

Day 3: Setting Up My C++ Environment

صورة
  Day 3: Setting Up My C++ Environment Today, I focused on setting up the tools and environment needed to start writing C++ code. It’s important to get everything ready before diving into the actual coding. Here’s what I did: 1. Installing a C++ Compiler To write and execute C++ code, you need a compiler. The most popular ones are: GCC (GNU Compiler Collection): Available on Linux and can be installed on Windows using MinGW. Clang: A compiler that works well with macOS. MSVC (Microsoft Visual C++): Works well on Windows and comes with Visual Studio. For Windows, I decided to install MinGW . It’s lightweight and easy to use. For macOS or Linux, the compiler is often pre-installed. 2. Choosing an IDE (Integrated Development Environment) The IDE is where you’ll write your C++ code. Here are some good options: Visual Studio Code (VS Code): Lightweight, customizable, and supports C++ with extensions. Code::Blocks: A great beginner-friendly IDE that comes with a built-in compiler. C...

Day 2: Why I Chose C++

صورة
Day 2: Why I Chose C++ Today, I spent some time reflecting on why I chose C++ as my first programming language. After reading a bit more, I realized how powerful and flexible it is. It’s used in so many important areas like game development (Unreal Engine), operating systems (Windows), and high-performance applications like banking systems. What impressed me the most was the combination of performance and control that C++ offers. I’ve read that it allows developers to write very efficient code while also giving them control over how memory is managed. I think it’s a great choice for building a strong understanding of how computers work. I feel more motivated than ever to continue learning. C++ seems like a language that will take my programming skills to the next level. Sample Code for Day 2 I tried working with variables today. Here’s a simple example: