This file contains hidden or 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
/* CarData4.cpp | |
Dustin White | |
CIS 251 | |
Spring 2014 | |
Mr. Miller | |
*/ | |
#include <cstdlib> | |
#include <iostream> |
This file contains hidden or 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 <cstdlib> | |
#include <iostream> | |
#include <fstream> | |
using namespace std; | |
const int MAX=100; // user number will determine how much to output | |
class CarData //defining class "wrapper" | |
{ | |
private: |
This file contains hidden or 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 <cstdlib> | |
#include <iostream> | |
#include <fstream> | |
using namespace std; | |
const int MAX=100; // user number will determine how much to output | |
class CarData //defining class "wrapper" | |
{ | |
private: |
This file contains hidden or 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 <cstdlib> | |
#include <iostream> | |
#include <fstream> | |
using namespace std; | |
const int MAX=100; // user number will determine how much to output | |
class CarData //defining class "wrapper" | |
{ | |
private: |
This file contains hidden or 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 <cstdlib> | |
#include <iostream> | |
#include <fstream> | |
using namespace std; | |
class CarData //defining class "wrapper" | |
{ | |
private: | |
double year, mileage; |
This file contains hidden or 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 <cstdlib> | |
#include <iostream> | |
#include <string.h> | |
using namespace std; | |
int stocknum[10], year[10], option; | |
bool swapped = true; | |
string make[10], model[10], tempstring; | |
int mileage[10], price[10]; |
This file contains hidden or 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 <cstdlib> | |
#include <iostream> | |
#include <string.h> | |
using namespace std; | |
int stocknum[10], year[10], option; | |
bool swapped = true; | |
string make[10], model[10], tempstring; | |
int mileage[10], price[10], tempdouble; |
This file contains hidden or 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 <cstdlib> | |
#include <iostream> | |
#include <string.h> | |
using namespace std; | |
static const int MAX = 3; | |
int stocknum[MAX], year[MAX], option; | |
bool swapped = true; | |
string make[MAX], model[MAX], tempstring; |
This file contains hidden or 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 <cstdlib> | |
#include <iostream> | |
#include <string.h> | |
using namespace std; | |
static const int MAX = 2; | |
int stocknum[MAX], year[MAX], ctr, option; | |
bool swapped = true; | |
string make[MAX], model[MAX], tempstring; |
This file contains hidden or 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 <cstdlib> | |
#include <iostream> | |
#include <string.h> | |
using namespace std; | |
static const int MAX = 2; | |
int stocknum [MAX], year [MAX], ctr, option; | |
bool swapped = true; | |
string make [MAX], model [MAX], tempstring; |