C++ Base Knowledge

by rewindthetime

Preface

Welcome to C++ Base Knowledge! This repository contains my very first C++ code lines

This is a learning journey, so you'll find simple, clean, and well-commented code throughout. The goal is to build a solid foundation for more advanced C++ projects in the future.

Feel free to explore the code, learn along with me, and contribute if you have suggestions!

If people use my stuff in any YouTube videos or anything else, I would be happy if you credited me in the video or something.

Project Structure

1. Printing Out

Learn the basics of outputting text in C++.

View Code

2. Variables

Understanding variables and data types.

View Code

3. Maths

Basic mathematical operations in C++.

View Code

4. Input

Handling user input.

View Code

5. CMath

Using the cmath library for advanced math functions.

View Code

6. Fundamental Types

Learn about the basic data types in C++ such as int, float, double, char, bool, and how to use them.

View Markdown

7. Random

Understand how to generate random numbers in C++ and use them in your programs.

View Code

8. Functions

Learn how to define and use functions for modular and reusable code in C++.

View Code

9. if and else

Understand conditional statements in C++ to control program flow with if, else if, and else.

View Code

10. Switch

Learn how to use the switch statement in C++ for multiple conditional branches.

View Code

Notes

  • This is my first C++ repository, focused on learning and experimentation.
  • All code is fully commented for clarity.
  • Future updates will include more complex topics like loops, functions, arrays, and classes.