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 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
#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
//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
//courseID:CIS277-001 | |
//name: Hyo Chang Kim | |
//Prof. Eliscu | |
//Homework Assignment#4: Singly Linked List | |
//Due by 2/21/2017 | |
/* | |
I had a few challenges on this assignment. I wrote the code for creating a singly linked list that accepted the airport codes and miles as values. I wrote it as a do-while loop after setting the initial node to LGA and zero miles. The do-while then adds as many nodes as inputted to the last position. I wrote a second do-while loop with switch menu to give the user the option of displaying the entire list or to search for a specific code. | |
*/ |
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 <cmath> | |
#include <queue> | |
#include <iomanip> | |
#include <cstring> | |
#include <cstdlib> | |
#include <iostream> | |
#include <algorithm> | |
using namespace std; |
OlderNewer