I don't know why i'm getting this incredibly long error list but maybe i'm over looking something. When I used these 2 headers with the cpp file it worked fine
//////////////////////////////////////////////////////////////////////////////////
#include "package.h"
class overnight : public package
{
public:
void night();
class package
{
public:
char again;
int packaged();
int whatday;
void overview(double total, int whatday);
int weight;
double pripero;
int fee;
double total;
struct info{
string name;
string address;
string city;
string state;
int zip;
};
info s;
info r;
double calculatecost(int weight, int fee, double pripero);
};
#endif
////////////////////////////////////////////////////////////////////////////////
But when I added this it threw all the error messages
////////////////////////////////////////////////////////////////////////////////
#pragma once
#ifndef PACKAGE_H
#include "package.h"
#endif
#include <iostream>
#include <iomanip>
#include <ctime>
#include <vector>
#include <string>
using namespace::std;
class twoday : public package
{
public:
void twod();
};
////////////////////////////////////////////////////////////////////////////////
Thanks so much for any help!