Skip to content

Instantly share code, notes, and snippets.

View nmyers217's full-sized avatar
🐢

Nick nmyers217

🐢
View GitHub Profile
;;;;
;; SICP (Structure and Interpretation of Computer Programs) Excercise Problems
;;
;; Excercise 1.12 (page 42)
;;
;; Write a program that uses recursion to print the numbers of pascal's triangle
;;;;
;; Print something with a line break after it
(define (println stuff)
#include <iostream>
#include <fstream>
#include <iomanip>
using namespace std;
const int listSize = 90000;
//Function Prototypes
void mainDriver( int [] , int [] , int [] , int , int );
#include <iostream>
#include <fstream>
#include <iomanip>
using namespace std;
const int listSize = 90000;
void mainDriver( int [] , int , int , bool );
void inputNumbersFromTxt( int [] , int );
#include <iostream>
using namespace std;
const int size_arr = 8;
void isSorted( int arr[], int size_arr, bool status);
int main()
{
/*
* I don't have g++ for c++ on windows right now
* so I had to write this in actual C
* but it is still valid c++ and should compile
*
*/
// Just think of this header file as C's version of iostream
#include <stdio.h>
@nmyers217
nmyers217 / jsbin.fefob.html
Created March 14, 2014 12:29
An animated star field.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>JS Bin</title>
</head>
<body>
<canvas id="canvas"></canvas>
</body>
</html>