Skip to content

Instantly share code, notes, and snippets.

View ameryisafreeelf's full-sized avatar

Amery Chang ameryisafreeelf

  • Dave
  • Brooklyn, NY
View GitHub Profile
@ameryisafreeelf
ameryisafreeelf / ToDoList_3.h
Last active November 5, 2021 02:29
Third round of feature requests in To Do List exercise (week 2)
#include <iostream>
#include <string>
#include <vector>
#include <ctime>
static int taskNumberCounter = 0; // Static variable to assign a taskNumber to task
enum Status {done, notDone};
enum Priority {none, low, medium, high};
@ameryisafreeelf
ameryisafreeelf / ToDoList_2.h
Last active November 5, 2021 02:29
Second round of feature requests for To Do List Exercise (Week 2)
#include <iostream>
#include <string>
#include <vector>
#include <ctime>
static int taskNumberCounter = 0; // Static variable to assign a taskNumber to task
enum Status {done, notDone};
enum Priority {none, low, medium, high};
@ameryisafreeelf
ameryisafreeelf / ToDoList_1.h
Last active November 5, 2021 02:29
First round of feature requests in To Do List exercise (week 2)
#include <iostream>
#include <string>
#include <vector>
#include <ctime>
static int taskNumberCounter = 0; // Static variable to assign a taskNumber to task
enum Status {done, notDone};
enum Priority {none, low, medium, high};
@ameryisafreeelf
ameryisafreeelf / ToDoList_0.h
Last active November 5, 2021 02:29
Initial Design in the To Do List exercise (Week 2)
#include <iostream>
#include <string>
#include <vector>
static int taskNumberCounter = 0; // Static variable to assign a taskNumber to task
enum Status {done, notDone};
class Task {
private: