Skip to content

Instantly share code, notes, and snippets.

View jcoryalvernaz's full-sized avatar
🕹️

Cory Alvernaz jcoryalvernaz

🕹️
View GitHub Profile
#include <stdio.h>
#include <cs50.h>
int main(void)
{
//Make variables for height, spaces, and hashes
int height;
int spaces;
int hashes;
//Prompt user for height
#include <stdio.h>
#include <cs50.h>
int main(void)
{
//Make variables for height, spaces, and hashes
int height;
int spaces;
int hashes;
int hashesSecond;
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <cs50.h>
int main(int argc, string argv[])
{
//Make sure ther is only one command line argument
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <cs50.h>
int main(int argc, string argv[])
{
int j;
int k;
D4@1/8
D4@1/8
E4@1/4
D4@1/4
G4@1/4
F#4@1/2
D4@1/8
D4@1/8
E4@1/4
D4@1/4
// Helper functions for music
#include <cs50.h>
#include <math.h>
#include <string.h>
#include <stdlib.h>
#include "helpers.h"
// Converts a fraction formatted as X/Y to eighths
// Copies a BMP file
#include <stdio.h>
#include <stdlib.h>
#include "bmp.h"
int main(int argc, char *argv[])
{
// ensure proper usage
// Copies a BMP file
#include <stdio.h>
#include <stdlib.h>
#include "bmp.h"
int main(int argc, char *argv[])
{
// ensure proper usage
#include <stdio.h>
#include <stdbool.h>
int main(int argc, char *argv[])
{
//Make sure that I have one command line argument
if (argc != 2)
{
fprintf(stderr, "Please enter file to open.\n");
return 1;
// Implements a dictionary's functionality
#include <stdio.h>
#include <stdbool.h>
#include <cs50.h>
#include <string.h>
#include <ctype.h>
#include "dictionary.h"
#define HASHTABLE_SIZE 1985