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
// A generic function to close win32 console applications | |
#include <iostream> | |
#include <iomanip> | |
#include <fstream> | |
#include <string> | |
using namespace std; | |
void closeApp(); |
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
// author: Nicholas Fazzolari | |
// project: Shopping budget tracker | |
// date: 1/6/2016 | |
#include <iostream> | |
#include <iomanip> | |
using namespace std; | |
// this constant sets the _max_ number of array elements |
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> | |
#include <string> | |
#include <fstream> | |
#include <cmath> | |
#include <cstring> | |
using namespace std; | |
const int ARRAY_SIZE = 7; |
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> | |
#include <string> | |
#include <fstream> | |
#include <cmath> | |
#include <cstring> | |
using namespace std; | |
const int ARRAY_SIZE = 7; |
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 function removes a given element from the array in this program | |
bool remove(int val, int intList[], int& size) { | |
int index; | |
bool found = false; | |
for (int i = 0; i < size; i++) { | |
if (val == intList[i]) { | |
found = true; | |
index = i; | |
cout << "Value " << intList[i] << " found at index [ " << i << " ]" << endl; |
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
// Nick Fazzolari | |
#include <iostream> | |
using namespace std; | |
void userMenu(char menuSelection); | |
void printMenu(); | |
void baseUi(); | |
// void baseUi({params for locals in main here}); |
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> | |
using namespace std; | |
struct nodeType | |
{ | |
int info; | |
nodeType *link; | |
}; | |
nodeType* buildListForward(); |
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
// Author: Nicholas Fazzolari | |
// Project 4 - OOP Playlist (Dynamic Memory) | |
// Date: 2/16/16 | |
// Sources: Book, cplusplus.com, stackexchange | |
#ifndef PLAY_LIST | |
#define PLAY_LIST | |
#include "songEntry.h" |
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
// Author: Nicholas Fazzolari | |
// Date: 1/22/16 | |
// Assignment: Song data base application | |
// Sources: Text Book, cplusplus.com | |
#include <iostream> | |
#include <iomanip> | |
#include <cstring> | |
#include <fstream> |