Skip to content

Mabdullahatif/Programming_Fundamentals

Repository files navigation

Programming_Fundamentals

Welcome to my beginner-friendly C++ code repository, containing a collection of simple and helpful programs to learn the fundamentals of C++ programming.

Table of Contents

C++ Code Samples for Beginners

This repository contains a collection of C++ code samples that are designed to help beginners learn the basics of C++ programming. Each code snippet is accompanied by a detailed description of its functionality and usage.

Sample Programs out of so many

File Name Description
sum.cpp Calculates the sum of two numbers.
product.cpp Calculates the product of two numbers.
factorial.cpp Calculates the factorial of a given number.
fibonacci.cpp Generates a Fibonacci series up to a given number.
rock_paper_scissors.cpp Simulates a rock-paper-scissors game between two players.
calculate_package_cost.cpp Calculates the cost of a package based on usage time.
odd_or_even.cpp Checks if a given number is odd or even.
reverse_string.cpp Reverses a given string.
find_palindrome.cpp Checks if a given string is a palindrome.
number_pattern.cpp Prints a number pattern using asterisks and spaces.

and many more......

How to Use

  1. Clone the repository to your local machine using git clone.
  2. Navigate to the directory of the desired C++ file in your terminal.
  3. Compile the C++ file using a C++ compiler (e.g., g++). For example:
  4. Run the compiled executable to see the output of the program.

Contributing

Contributions to this repository are welcome! If you have any new C++ code samples or improvements to existing ones, feel free to create a pull request.

Initial Contributor

So far, all the work in this repository is purely done by me.

LinkedIn             Facebook             Instagram             Twitter

                                                                                           

About

Welcome to my beginner-friendly C++ code repository, containing a collection of simple and helpful programs to learn the fundamentals of C++ programming.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages