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
/** | |
* CS50 | |
* week 1 Hello, world | |
*/ | |
#include <stdio.h> | |
int main (void) | |
{ | |
printf ("Hello, world!\n"); | |
} |
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
/** | |
* CS50 week1 Water | |
*/ | |
#include <stdio.h> | |
#include <cs50.h> | |
int main(void) | |
{ | |
printf ("Minutes:"); |
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
/** | |
* CS50 week 1 Greedy | |
*/ | |
#include <stdio.h> | |
#include <stdio.h> | |
#include <math.h> | |
#include <cs50.h> | |
int main (void) | |
{ |
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
/** | |
* CS50 week1 mario_less | |
*/ | |
#include <stdio.h> | |
#include <cs50.h> | |
int main (void) | |
{ | |
int height; | |
int h=1; |
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
/** | |
* CS50 week 1 mario_more | |
*/ | |
#include <stdio.h> | |
#include <cs50.h> | |
int main (void) | |
{ | |
int height; | |
int h=1; |
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
/** | |
*CS50 week 2 initials_less | |
*/ | |
#include <stdio.h> | |
#include <cs50.h> | |
#include <ctype.h> | |
#include <string.h> | |
int main(void) |
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
/** | |
* CS50 week 2 initials_more | |
*/ | |
#include <stdio.h> | |
#include <cs50.h> | |
#include <ctype.h> | |
#include <string.h> | |
int main(void) |
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
/** | |
* CS50 week2 caesar | |
*/ | |
#include <stdio.h> | |
#include <cs50.h> | |
#include <ctype.h> | |
#include <string.h> | |
#include <stdlib.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
/** | |
* CS50 week 2 vigenere | |
*/ | |
#include <stdio.h> | |
#include <cs50.h> | |
#include <ctype.h> | |
#include <string.h> | |
#include <stdlib.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
/** | |
* RGBTRIPLE | |
* | |
* This structure describes a color consisting of relative intensities of | |
* red, green, and blue. | |
* | |
* Adapted from https://msdn.microsoft.com/en-us/library/dd162939(v=vs.85).aspx. | |
*/ | |
typedef struct |
OlderNewer