Skip to content

Instantly share code, notes, and snippets.

View ikeating's full-sized avatar
🎯
Hunting

Isaiah Keating ikeating

🎯
Hunting
View GitHub Profile
# include <stdio.h>
//# include "gfx2.h"
//# include "myGfxShapesLib.h"
// argc: a count of how many command line arguments were given
// when the program was invoked. This includes the command name itself
// argv: a one-dimensional array of strings
// mean argv[someIndex] can be used anywhere you would use string
// anywhere "you could put something in double-quotes"
#include<stdio.h>
#include<stdlib.h>//rand func
#include<time.h>//seed
int randNum();//declare the function
int main()
{
//srand(time(NULL));//seed
printf("%i\n", randNum());
#include <stdio.h>
#include <time.h>
int main()
{
time_t seconds = time(NULL);//Unix epoch 00:00:00 UTC on 1 January 1970
if (seconds == -1)
{
/*
Isaiah Keating
csc250DT2
Lab0x03-p1--polyGoneCrazy
02/14/2020
V 0.1
*/
#include <stdio.h>
/*
Isaiah Keating
csc250DT2
Lab0x03-p2--rollpolyBounce
02/14/2020
V 0.1
*/
#include <stdio.h>
#include "gfx2.h"
/*
Isaiah Keating
csc250DT2
Lab0x03-p3--multiPolyBounce
02/14/2020
V 0.1
*/
#include <stdio.h>
#include "gfx2.h"
/*
* myGfxShapesLib.h
*
* A libtrary of functions that draw various shapes using the gfx2 library.
*
* Author: Isaiah Keating
* csc250DT2
* Last Modified: 03/21/2020 v0.7
*/
/*
Isaiah Keating
csc250DT2
Lab0x03-p4--animania
02/14/2020
V 0.1
*/
#include <stdio.h>
#include "gfx2.h"
#include "myGfxShapesLib.h"
/*
* myGfxShapesLib.c
*
* A library of functions that draw various shapes using the gfx2 library.
*
* Author: Isaiah Keating
* csc250DT2/*
* myGfxShapesLib.c
*
* A library of functions that draw various shapes using the gfx2 library.
/*
A simple graphics library for CSE 20211 by Douglas Thain
For course assignments, you should not change this file.
For complete documentation, see:
https://www3.nd.edu/~dthain/courses/cse20211/fall2013/gfx/
Version 4-SG 11/29/2018 - auth. Scott Graham, DSU.EDU - added some get key/position functionality
Version 3, 11/07/2012 - Now much faster at changing colors rapidly.
Version 2, 9/23/2011 - Fixes a bug that could result in jerky animation.
*/