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.
- Introduction
- Getting Started
- Homework Solutions
- How to Contribute
- Code Compilation and Testing
- Community Guidelines
- Contact Information
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.
To access the Fundamentals of Programming Homework Answers, follow these steps:
- Clone this repository to your local machine using the following command:
git clone https://github.com/MeatyAri/mabani_homeworks
- Navigate to the project directory:
cd mabani_homeworks
- Explore the solution folders corresponding to the respective homework assignments.
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.
Contributions are welcomed! If you have alternative solutions, improved explanations, or new homework assignments, follow these steps:
- Fork the repository.
- Create a new branch for your contribution:
git checkout -b new_solution
- Make your changes and commit them:
git add . git commit -m "Add solution for homework on topic X"
- Push the changes to your fork:
git push -u origin new_solution
- Open a pull request to the main repository.
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:
-
On the repository, press
.
on your keyboard to open Visual Studio Code in your browser. -
Click on the hamburger menu (three horizontal lines) in the top left corner, then select "Open New Terminal."
-
Create your Codespace by clicking on the "Continue Working in GitHub Codespaces" green button and selecting either the 2-core or 4-core option.
-
Tada! You now have a Linux environment on the cloud.
-
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
-
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
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.
If you have any questions or need assistance, feel free to reach out:
- Email: meatyari@gmail.com
- Telegram: @meatyari
Happy learning and coding! 🚀