ok i have a program which has a set of array's for flights, and a function that runs at the start of the problem to fill the array
anyway i want a print all flights option, and i have tried testing by printing 1 flight so far, but it says undelcared identifier.
thats what i have so far, any idea why it won't workCode:// Cfunctions.cpp: implementation of the functions class. // ////////////////////////////////////////////////////////////////////// #include "functions.h" #include <iostream> #include <windows.h> #include <fstream.h> #include <conio.h> #include <stdlib.h> #include "flights.h" ////////////////////////////////////////////////////////////////////// // Construction/Destruction ////////////////////////////////////////////////////////////////////// Cfunctions::Cfunctions() { } Cfunctions::~Cfunctions() { } Cfunctions::Printall() { system("cls"); cout << flight1 << endl;