Getting this error along with an error stating that the variables "managers", "stores" "products", and inventory" are undeclared and there are missing ';' before them.
#include "Manager Info Structure.h"
#include "pch.h"
#include <iostream>
#include <string>
#include <fstream>
#include <array>
using namespace std;
//Vendor Variables
int VENDORSIZE = 3;
ManagerData managers[3];
the structure is listed here:
#pragma once
struct ManagerData
{
int man_iD;
string man_fname;
string man_lname;
int store_num;
int exp_mon;
int exp_year;
string man_phone;
string man_email;
};
edit: removed superfluous information, attempting the put pch.h at the top of the solution results in 3 instances of the error listed in the title of this post along with 'man_fname': unknown override specifier, 'man_lname': unknown override specifier, 'man_phone': unknown override specifier, 'man_email': unknown override specifier. Thank you everyone for your answers so far