*82
Contact


#include<felix_culpa.h>



	
		
#include <whichever necessary libraries you need. You are bound to miss
  at least one>
#include <my_memories.h>

class Me {
private:
  
// begin at age 19, before things went to hell
bool isObsessed = false;
bool atHospital = false;
string current_college = “”;
int current_age = 19;

// Number of TRUE friends that I had at 19
int real_friend_count = 2;

// isolate each memory based on importance/damagingness in a priority queue. 
priority_queue<mems, damagingness_comparator> memories;
   
public:

// EFFECTS: sets college to wherever I decided to transfer to. Doesn’t take
// the reason into account (severe illness) and that one day I just stopped
// responding to my friends that I had to leave behind. I was only at
// Middlebury for about a month, but I grew to love community college before
// attending the University of Michigan. 
void setCollege(string college) {
  current_college = college;
}
   
// EFFECTS: Happy birthday to me 
// REQUIRES: Someone at school to sing to you. My new friend had to remind
// people that it was my birthday, so they sang to me but couldn’t remember
// my name.
void incrementAge() {
  current_age++;
}


// EFFECTS: activates obsessiveness trait (studying really does this). 
// REQUIRES: You get to this function when at your worst physically. This
// includes a compulsion to study for organic chemistry at 2am and yell at
// yourself over a 98% on an exam. Also be sure to have a very consistent
// routine. God forbid someone messes with your routine. 
void set_obsession() {
  isObsessed = true;
}
   
// EFFECTS: admits me to the hospital. 
// REQUIRES: empathy and extreme curiosity. Enjoy yourself here. You’ll
// remember the boy who you saw when he found out that he had just received
// a new heart. You’ll remember the touch of his hand and the way that his
// parents cried and the nurses clapped as he was wheeled down the hallway.
// This will inspire you to eventually shadow a pediatric cardiac surgeon
// in the operating room. Remember to be grateful. 
void set_hospital() {
  atHospital = true;
}
   
// EFFECTS: discharges me from the hospital. But don’t fret! The outpatient
// program is waiting... 
// REQUIRES: that you are NOT ready to leave. You actually grew to love the
// hospital. It was fun laughing with people for a change. Don’t forget the
// singing janitor and the kind fellow that you became friends with! 
void leave_hospital() {
  atHospital = false;
}


// REQUIRES: I can't have less than 0 friends
// EFFECTS: this function helps me gain and lose friends
// HINT: gaining friends is difficult to implement when starting at a new
// school. So, unlike what you did when you were younger, don't erase people
// from your life if you get angry with them. TODO: TALK TO THEM!!!
void friendships(string gained_or_lost) {
  if (gained_or_lost == "gained")
    real_friend_count++;
  else
    real_friend_count--;
  }
   
}; // end of Me class











Ethan Kahana is an undergraduate student at the University of Michigan studying data science. He enjoys yelling at his buggy code (but not debugging).



Previous | Next