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
//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
//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
#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
#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> | |
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
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; |
NewerOlder