Skip to content

Instantly share code, notes, and snippets.

@shade34321
shade34321 / blackjack.cpp
Created December 4, 2012 23:40
Game of Blackjack
/**
Game of Blackjack
You can play with one or two players
each player creaates a account if they don't have one and if they do they can load their existing data
Each player and the dealer are dealt two cards, the dealers first card is face down
*/
#include <iostream>
#include <fstream>
#include <vector>
#include <string>
//
// Employee.cpp
// Week_06_Exception_Project
//
// Created by Shade Alabsa on 2/17/13.
// Copyright (c) 2013 Shade Alabsa. All rights reserved.
//
#include "Employee.h"
using namespace std;
//
// vectorApp.cpp
// Week_07_Vector_Program
//
// Created by Shade Alabsa on 2/24/13.
// Copyright (c) 2013 Shade Alabsa. All rights reserved.
//
#include <iostream>
#include <string>
#include <fstream>
@shade34321
shade34321 / allacounts.txt
Created February 26, 2013 23:11
Bank Application: Bank Login Menu ------------------------- A) Log into an account B) Open a new account C) Show all accounts D) Exit System After a user has successfully logged in, then following menu should show: Bank Menu ------------------------------------ A) Show account balance B) Make a deposit C) Make a withdrawal D) Write a Check E) Sh…
123456789 Shade Alabsa spongebob 802.48
134567892 Jessica Dougherty nemo 9253.21
145678923 Charles Hardnet gwinnettTech 94328.54
@shade34321
shade34321 / Employee.java
Last active December 14, 2015 13:58
Java with Derby
import java.sql.*;
import java.util.Scanner;
public class Employee {
private static int empolyeeNumber = 1;
private int age;
private String first, last, phone, tableName, serverName, dbName;
private Connection con = null;
private Statement stm = null;
@shade34321
shade34321 / linked_list.cpp
Created March 20, 2013 03:32
Simple Linked list
//
// linked_list.cpp
// Week_09_Linked_list
//
// Created by Shade Alabsa on 3/16/13.
// Copyright (c) 2013 Shade Alabsa. All rights reserved.
//
#include <string>
#include <iostream>
@shade34321
shade34321 / TicTacToe.jave
Created March 21, 2013 03:24
Simple tic tac toe game
import java.util.Scanner;
public class TicTacToe {
private char board[][];
TicTacToe(){
board = new char[3][3];
for(int i = 0;i<board.length;i++){
for(int j = 0;j<board[i].length;j++){
board[i][j] = '-';
@shade34321
shade34321 / ExceptionHandling.java
Last active December 15, 2015 13:39
Write a program with the following requirements: 1. ask the user to enter an integer. Then display what the user entered back on the screen if the user entered an integer ("you entered ..."). If the user enter something other than an integer then display on the screen a message that says "you did not enter an integer". 2. next, the program asks …
import java.io.*;
import java.text.SimpleDateFormat;
import java.util.*;
import java.lang.SecurityException;
public class ExceptionHandling{
private Scanner input;
public ExceptionHandling(){
input = new Scanner(System.in); //so we can take in the users input
@shade34321
shade34321 / Error.txt
Last active December 16, 2015 12:49
Restaurant Simulator
Ld /Users/shade/Library/Developer/Xcode/DerivedData/ResSim-fvkhqxhiupiizxgffxqgoxgolsmv/Build/Products/Debug/ResSim normal x86_64
cd /Users/shade/Dropbox/School/Gwinnett_Tech/CIST_2362/final/ResSim
setenv MACOSX_DEPLOYMENT_TARGET 10.8
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -L/Users/shade/Library/Developer/Xcode/DerivedData/ResSim-fvkhqxhiupiizxgffxqgoxgolsmv/Build/Products/Debug -F/Users/shade/Library/Developer/Xcode/DerivedData/ResSim-fvkhqxhiupiizxgffxqgoxgolsmv/Build/Products/Debug -filelist /Users/shade/Library/Developer/Xcode/DerivedData/ResSim-fvkhqxhiupiizxgffxqgoxgolsmv/Build/Intermediates/ResSim.build/Debug/ResSim.build/Objects-normal/x86_64/ResSim.LinkFileList -mmacosx-version-min=10.8 -stdlib=libstdc++ -o /Users/shade/Library/Developer/Xcode/DerivedData/ResSim-fvkhqxhiupiizxgffxqgoxgolsmv/Build/Products/Debug/Re
We can't make this file beautiful and searchable because it's too large.
History Date,Customer Type,Consumption
1/3/2011,COMM,1
1/3/2011,COMM,14
1/3/2011,COMM,1
1/3/2011,COMM,3
1/3/2011,COMM,1
1/3/2011,COMM,11
1/3/2011,COMM,16
1/3/2011,COMM,80
1/3/2011,COMM,18