If you’re planning on making a robot cat and need artificial intelligence programming for it, I give you this source code free of charge:
const char* KittyObserveObject(object observed_object)
{
if(isSmall(observed_object) && isMoving(observed_object))
{
kill(observed_object);
return(“Meow”);
}
else
{
sleep();
return(“Purr”);
}
}
That should cover about 90% of it.

You forgot the coding for urinating on the favorite sweater and coughing hairballs (circuit-balls?) onto your lap. Thought I’d help, as the servant of three of my very own cats.
C++? How twentieth century!
Wow. Now Laurences cat cams may have actual cats to capture and display.
Cats are fluffy! Dogs smell!
/drive-by dog hatin’
Trooper, only cats that don’t respect their owners pee on their owners’ stuff. Sydney and Minerva have never ever peed on our clothes.
A C++ joke?
Really?
std::cout<“Dear God, no more computer science”<<std::endl
const char* KittyObserveObject(object observed_object)
{
if(isSmall(observed_object) && isMoving(observed_object))
{
kill(observed_object);
return(“Meow”);
}
else if(isFoodBowl(observed_object) && isEmpty(observed_object))
{
observed_object = KittyObserveObject(); //observe new object
if(isSoft(observed_object))
{
urinate(observed_object);
hide();
{
else
{
knockOverBreak(observed_object);
hide();
}
}
else
{
sleep();
return(“Purr”);
}
}