This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;;; | |
;; 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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <fstream> | |
#include <iomanip> | |
using namespace std; | |
const int listSize = 90000; | |
//Function Prototypes | |
void mainDriver( int [] , int [] , int [] , int , int ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <fstream> | |
#include <iomanip> | |
using namespace std; | |
const int listSize = 90000; | |
void mainDriver( int [] , int , int , bool ); | |
void inputNumbersFromTxt( int [] , int ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
const int size_arr = 8; | |
void isSorted( int arr[], int size_arr, bool status); | |
int main() | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* 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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<canvas id="canvas"></canvas> | |
</body> | |
</html> |