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<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 "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>
#include <time.h>
# include "gfx2.h"
# include "myGfxShapesLib.h"
void printListOfDoubles(double *list, int length)
{
# include <stdio.h>
# include "gfx2.h"
# include "myGfxShapesLib.h"
char h;
int main(int argc, char* argv[])
{
double cmdLineDataValues [100];//dont use more than one hundred cmd line args
/*
Isaiah Keating
csc250DT2
Lab0x04-p1--chartFromFile
*/
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
# include "gfx2.h"
/*
Isaiah Keating
csc250DT2
Lab0x04-p2--testDrawLinesFunction
*/
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
/*
Isaiah Keating
csc250DT2
Lab0x04-p3--creativeLines
*/
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
/*
Isaiah Keating
csc250DT2
Lab0x04-p4--plotMath
*/
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
# include "gfx2.h"
# include "myGfxShapesLib.h"
#include <unistd.h>
int main(int argc, char *argv[])
{
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <unistd.h> // for usleep -- only on linux
// defines the max num of rows&cols
#define MAXROWS 200
#define MAXCOLS 200
void printTableOfInts(int table[MAXROWS][MAXCOLS], int nRows, int nCols)