You outta pocket yeah you outta pocket πŸ‘‰πŸ’©πŸ’Ž

My Ode to Love in C++

#include <life>
using namespace myUniverse;

class love {
  int intensity;
public:
  int  fall_in (int i);
  int  fall_out(int i);
  virtual bool isTrue    () = 0;
  virtual void firstSight() = 0;
  virtual void freeAgain () = 0;
  love();
  ~love();
};

int love::fall_in(int i)
{
  instensity += i;
}

int love::fall_out(int i)
{
  instensity -= i;
}

love::love()
{
  intensity = 0;
  firstSight();
}

love::~love()
{
  freeAgain();
}
Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s