Concepts
Top down design (Don't mention directly)
Encapsulation and Abstraction
Maintaining Compatibility
Nuances and Trade-offs
Hiding Implementation Details
Leaky Abstraction
Other C++ specific stuff
std::initializer_list
Class Introduction
Problem: C arrays are hard to manage and error prone
Solution: Implement a List class in C++
Concepts:
constructor/destructor
new/delete syntax
member/method
getter/setter
Powered by ChatGPT
:::danger
This guide is for students that already has a README.md file already added in their GitLab project. If your GitLab project is empty when you open it DO NOT follow this guide.
:::
You may remove the README.md and add the homework repository files to your repository and complete the homework.
If you mess up on some of the step, you can clone your repo and do it again.
Cylinder changed 2 years agoView mode Like Bookmark
Due this combination is probably going to be the most popular choice and Windows is a pain to work with, this guide is specifically for students that have trouble setting up their environment on VSCode w/ Windows and is NOT REQUIRED to follow. If you:
are not using Windows
are using Visual Studio or CLion
have already setup the environment successfully
you should not follow this guide.
If you are following this guide, make sure you are using PowerShell and not CMD, CMD compatibility is not guaranteed.
noobdy changed 2 years agoView mode Like 1 Bookmark
How to Use this Guide
This guide aims to be a detailed yet simple to follow all-in-one solution for both new and experienced students. As a result, there are lots of screenshots and technical details that you can safely ignore if you don't understand the meaning of it.
You shouldn't blindly copy and paste commands into your terminal, please read this guide carefully before making any changes.
This guide assumes you have read and setup How to Use Git. Proceed if you have already setup GitLab and SSH.
Officially Supported Platforms and Editors
Windows
Powered by ChatGPT
SSH keys provide a secure way to authenticate yourself to GitLab without needing to enter your username and password every time. This guide will walk you through the steps to set up an SSH key for use with GitLab.
Prerequisites
Before you begin, ensure you have the following:
A GitLab account: You must have an account on GitLab where you want to add your SSH key.
Git installed: Make sure you have Git installed on your local machine. You can download it from git-scm.com.
SSH key pair: If you don't already have an SSH key pair, generate one using the ssh-keygen command. You should have both the private and public keys. If you need to generate one, use the following command:ssh-keygen -t rsa -b 4096 -C "your_email@example.com"
Cylinder changed 2 years agoView mode Like Bookmark
How to Use This Guide
This guide aims to provide a basic introduction of Git but also brings some insights to how Git actually works under the hood. After reading this guide, you should learn how to properly version control your projects, understand how branching works, and synchronize your changes to remote services such as GitHub or GitLab.
Why Should You Use a Version Control System
Large software projects aren't built in a single day by a single person. Most people start out learning to code without properly managing different changes made to their code base.
Those methods can works when you are just learning or your project relatively small. However, as the scale grows or more people joins your project, things can easily go out of hand:
What if an old bug was discovered and you need to apply changes to multiple versions?
How can you know every change your teammate made (or even by yourself last week)?
Cylinder changed 2 years agoView mode Like Bookmark