Skip to content

Instantly share code, notes, and snippets.

View PhilipCastiglione's full-sized avatar

Philip Castiglione PhilipCastiglione

View GitHub Profile

Keybase proof

I hereby claim:

  • I am philipcastiglione on github.
  • I am pcastiglione (https://keybase.io/pcastiglione) on keybase.
  • I have a public key ASBrqqrge6T5EBU1GOE9YxH7LAZy3AUE1Ws0oRVrlg6vlgo

To claim this, I am signing this object:

/**
* Sweet merge-sort action: https://youtu.be/3WWtrx30mTk
*/
#include "splashkit.h"
#define NUM_VALS 40
void draw_values(const int values[], int size)
{
int x = 0;
@PhilipCastiglione
PhilipCastiglione / program.cpp
Created September 20, 2017 08:18
A program that calculates the distance a hot air ballon has to travel to circumnavigate the globe.
/**
* A short program to calculate the approximate length of a journey around the
* globe in a hot air balloon.
*
* Authored by Philip Castiglione
*/
#include "splashkit.h"
using namespace std;
/* VT100 terminal reset (<ESC>c) */
console.log('\033c');
/* numbers comparations */
> '2' == 2
true
> '2' === 2