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
/** | |
* resize.c | |
* | |
* Computer Science 50 | |
* Problem Set 5 | |
* Peter Downs | |
* | |
* Resizes a BMP piece by piece, because that's the assignment. | |
*/ | |
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
// | |
// breakout.c | |
// | |
// Computer Science 50 | |
// Problem Set 4 | |
/** | |
* A version of breakout | |
* | |
* Some sections by Peter Downs | |
* |
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> | |
<title>Livable Mars</title> | |
<link rel="stylesheet" type="text/css" href="mystyle.css"> | |
</head> | |
<body> | |
<h1>What do you want to change?</h1> |
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
/** | |
* fifteen.c | |
* | |
* Computer Science 50 | |
* Problem Set 3 | |
* | |
* Implements the Game of Fifteen (generalized to d x d). | |
* | |
* Usage: ./fifteen d | |
* |
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
/** | |
* vigenere.c | |
* | |
* Peter Downs | |
* | |
* A code for encrypting text with a Vigenere cipher. | |
*/ | |
#include <cs50.h> | |
#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
/** | |
* caesar.c | |
* | |
* Peter Downs | |
* | |
* A code for encrypting text with a simple Caesar cipher. | |
*/ | |
#include <cs50.h> | |
#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
/** | |
* | |
* credit.c | |
* | |
* Peter Downs | |
* | |
* A program for validating credit card numbers. | |
* | |
*/ | |
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
/** | |
* | |
* greedy.c | |
* | |
* Peter Downs | |
* | |
* A program for efficiently making change. | |
* | |
*/ | |
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
/** | |
* mario.c | |
* | |
* Peter Downs | |
* | |
* Prints a half pyramid of user specified height. | |
*/ | |
#include <cs50.h> | |
#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
/** | |
* mario.c | |
* | |
* Peter Downs | |
* | |
* Prints a half pyramid of user specified height. | |
*/ | |
#include <cs50.h> | |
#include <stdio.h> |
NewerOlder