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
#include <iostream> | |
#include <string> | |
using namespace std; | |
class Cnode | |
{ | |
int value; | |
Cnode *next; | |
friend class Clist; | |
friend class linkedQueue; |
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
IDENTIFICATION DIVISION. 00010000 . | |
PROGRAM-ID. PROGRAM1. 00020000 . | |
AUTHOR. JACK KIM. 00030000 . | |
00031000 . | |
ENVIRONMENT DIVISION. 00032000 . | |
INPUT-OUTPUT SECTION. 00033000 . | |
FILE-CONTROL. 00034000 . | |
SELECT INPUT-FILE ASSIGN TO INFILE. 00035000 . | |
SELECT INPUT-FILE2 ASSIGN TO INFILE2. 00035108 . | |
SELECT INPUT-FILE3 ASSIGN TO INFILE3. 00035205 . |
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
#include <iostream> | |
#include <string> | |
using namespace std; | |
class RuntimeException{ // generic run-time exception for empty stack | |
private: | |
string errorMsg; | |
public: |
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
#include <iostream> | |
#include <iomanip> | |
using namespace std; | |
// global constants for array initialization | |
const int COL = 5; | |
const int ROW = 5; | |
int row; | |
int col; |
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
#include<iostream> | |
#include<string> | |
#include<iomanip> | |
using namespace std; | |
class DNode // Establish DNode Class | |
{ | |
private: | |
DNode *next; // Node to use in list |
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
//courseID:CIS265-002HY | |
//name: Jack Kim, Kayla Guirao, Winielson Miranda, Fatima Idrissa | |
//Prof. Wang | |
//Group Project#1 | |
//Due by 2/27/2012 | |
#include <iostream> | |
#include <cstdlib> | |
using namespace std; |
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
//http://www.cprogramming.com/snippets/source-code/priority-queue-with-linked-list | |
//http://www.sanfoundry.com/cpp-program-implements-priority-queue/ | |
//https://www.youtube.com/watch?v=yIUFT6AKBGE | |
//http://faculty.cs.niu.edu/~mcmahon/CS241/Notes/doubly_linked.html | |
#include<iostream> | |
#include<cstdlib> | |
using namespace std; |
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
IDENTIFICATION DIVISION. 00010000 . | |
PROGRAM-ID. PROGRAM1. 00020000 . | |
AUTHOR. JACK KIM. 00030000 . | |
00031000 . | |
ENVIRONMENT DIVISION. 00032000 . | |
INPUT-OUTPUT SECTION. 00033000 . | |
FILE-CONTROL. 00034000 . | |
SELECT INPUT-FILE ASSIGN TO INFILE. 00035000 . | |
SELECT PRINT-FILE ASSIGN TO SYSPRINT. 00036000 . | |
00037000 . |
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
//Hyo Chang Kim | |
//Kim-CS610-2017-programming assignment 1 | |
//Professor Ali Mili | |
/* | |
Input: | |
1. Duration of Simulation | |
2. Average Coach Class Passenger Arrival Time | |
3. Average Coach Class Service Time | |
4. Average First Class Passenger Arrival Time | |
5. Average First Class Service Time |
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
/* | |
This program that models a finite state automaton assigns conditions 0 to 4 that models state zero to state 4. | |
It only considers 0 and 1 as input. It only moves from state to state based on the input of 1101. Any other combinatin, | |
be it 1 and 0 or any other input will not move the state from zero to four. | |
I had considered using enum values to assign "words to integers" but decided to stay with integers for simplicity sake. | |
*/ | |
#include<iostream> | |
using namespace std; |
OlderNewer