DVC WiCS Spring 2018 Project
Hello and welcome to the repository for the C++ To Do List project! Here you'll find all the codes and resources necessary to learn and create your own to do list program.
Before you start coding away, go to the "Getting Started" section first. To follow the lessons, just click on the lesson folder and you will see another readme like this that will walk you through the lessons.
Table of Contents
- Lesson 1: Reading and Writing Files
- Lesson 2: Manipulating Strings
- Lesson 3: Storing Data with Vectors
- Final Project: Making a To Do List Program
To get started, first you'll need to copy this repository to your computer or laptop. For beginners, I recommend doing "The Easy Way". If you're up for some challenge or if you're comfortable with Git, then you should do "The Git Way".
- Click the green "Clone or download" button at the top of this repository.
- Click "Download ZIP".
- Extract the downloaded ZIP file.
You'll have to do these steps each time we update the lessons. If you're tired of doing that, you should check out the other way below.
- Create and login to your GitHub account.
- Click "Fork" at the top of this repository.
- Download and install Git.
- Click the green "Clone or download" button at the top of the forked repository.
- Copy the link that showed up.
- Open a command line or terminal in the folder that you want to use.
- Type
git clone <the copied url>
. - Type
cd <name of repository>
to go inside the cloned folder.
- After you've made some changes, type
git add *
. - Then type
git commit -m "<describe what you changed>"
. - Then type
git push
.
- Click the green "Clone or download" button at the top of this repository.
- Copy the link that showed up.
- Open a command line or terminal in your repository folder.
- Type
git remote add upstream https://github.com/wics-dvc/wics18sp-todo.git
. - Type
git pull upstream master
.
Now, everytime we update the lesson, you'll just have to type git pull upstream master
to keep up with the updates.
- Install a C++ compiler. (WiCS recommends you to use GCC, but other compiler works fine too.)
- Open a command line or terminal in your repository folder.
- Type
g++ todo.cpp -o todo
to compile your code. - Type
./todo
to run the program you just created.
- Nadya Djojosantoso (@nadyafebi)