Skip to content

wics-dvc/wics18sp-todo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C++ To Do List

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


Lessons Outline

  • Lesson 1: Reading and Writing Files
  • Lesson 2: Manipulating Strings
  • Lesson 3: Storing Data with Vectors
  • Final Project: Making a To Do List Program

Getting Started

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".

The Easy Way

  1. Click the green "Clone or download" button at the top of this repository.
  2. Click "Download ZIP".
  3. 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.

The Git Way

Forking

  1. Create and login to your GitHub account.
  2. Click "Fork" at the top of this repository.

Cloning

  1. Download and install Git.
  2. Click the green "Clone or download" button at the top of the forked repository.
  3. Copy the link that showed up.
  4. Open a command line or terminal in the folder that you want to use.
  5. Type git clone <the copied url>.
  6. Type cd <name of repository> to go inside the cloned folder.

Changing

  1. After you've made some changes, type git add *.
  2. Then type git commit -m "<describe what you changed>".
  3. Then type git push.

Updating

  1. Click the green "Clone or download" button at the top of this repository.
  2. Copy the link that showed up.
  3. Open a command line or terminal in your repository folder.
  4. Type git remote add upstream https://github.com/wics-dvc/wics18sp-todo.git.
  5. 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.

Compiling

  1. Install a C++ compiler. (WiCS recommends you to use GCC, but other compiler works fine too.)
  2. Open a command line or terminal in your repository folder.
  3. Type g++ todo.cpp -o todo to compile your code.
  4. Type ./todo to run the program you just created.

Credits