Skip to content

MeatyAri/mabani_homeworks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fundamentals of Programming Homework Answers

Welcome to the Fundamentals of Programming(aka "مبانی برنامه نویسی", "BP" or "Basic Programming") Homework assignments and Answers repository! 🚀 This space is dedicated to sharing comprehensive answers and solutions to the homework assignments for our classmates. Here, you can find a collection of well-explained solutions that cover various fundamental programming concepts.

Table of Contents

  1. Introduction
  2. Getting Started
  3. Homework Solutions
  4. How to Contribute
  5. Code Compilation and Testing
  6. Community Guidelines
  7. Contact Information

Introduction

This repository serves as a resource for our classmates seeking guidance and understanding of homework assignments related to fundamental programming concepts. The provided answers are designed to be educational, offering insights and explanations to enhance comprehension.

Getting Started

To access the Fundamentals of Programming Homework Answers, follow these steps:

  1. Clone this repository to your local machine using the following command:
    git clone https://github.com/MeatyAri/mabani_homeworks
  2. Navigate to the project directory:
    cd mabani_homeworks
  3. Explore the solution folders corresponding to the respective homework assignments.

Homework Solutions

In the HW* folder, you'll find comprehensive answers and explanations for each homework assignment. The solutions are organized by question numbers, making it easy to locate the information you need.

Feel free to contribute additional solutions, improvements, or engage in discussions related to the provided answers by following the contribution guidelines.

How to Contribute

Contributions are welcomed! If you have alternative solutions, improved explanations, or new homework assignments, follow these steps:

  1. Fork the repository.
  2. Create a new branch for your contribution:
    git checkout -b new_solution
  3. Make your changes and commit them:
    git add .
    git commit -m "Add solution for homework on topic X"
  4. Push the changes to your fork:
    git push -u origin new_solution
  5. Open a pull request to the main repository.

Code Compilation and Testing

You can easily compile and test the provided code on the cloud using Github's Codespaces feature. This allows you to have a Linux environment without the need for any local setup. Follow these steps:

  1. On the repository, press . on your keyboard to open Visual Studio Code in your browser.

  2. Click on the hamburger menu (three horizontal lines) in the top left corner, then select "Open New Terminal."

  3. Create your Codespace by clicking on the "Continue Working in GitHub Codespaces" green button and selecting either the 2-core or 4-core option.

  4. Tada! You now have a Linux environment on the cloud.

  5. Ensure that gcc is installed in your Codespace. You can do this by running the following command in the terminal:

    sudo apt update
    sudo apt install gcc
  6. Compile and run your code just like your local environment.

    • here's a tip if you're new to linux and gcc
    gcc filename.cpp -o filename.out
    ./filename.out

Community Guidelines

Maintain a positive and collaborative environment by adhering to the following community guidelines:

  • Be respectful and considerate in discussions.
  • Provide constructive feedback on solutions.
  • Offer assistance to classmates seeking help.
  • Adhere to the code of conduct.

Contact Information

If you have any questions or need assistance, feel free to reach out:

Happy learning and coding! 🚀

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published