using namespace std;
// function prototypes
float menu(int choice, int twoDArray[][30], float oneDArray[], float currentSales);
void loadSeats(int twoDArray[][30]);
void loadPrices(float oneDArray[]);
float displaySeatingChart(float[][30], float oneDArray[]);
//void savePrices(float [ ]) – Saves the current row prices to the file
//“rowPrices.dat”
//void saveSeats(char [ ][30]) – Save the current seating chart to the file
//“seatingChart.dat
int main()
// declaring variable
{
int choice = 0;
float currentSales = 0;
const int ARRAYCOLUMN = 30;
const int ARRAYROWS = 15;
float oneDArray[ARRAYROWS];
int twoDArray[ARRAYROWS][ARRAYCOLUMN];
// trying to load
// loading seats
loadSeats(twoDArray);
loadPrices(oneDArray);
// calling menu
choice = float(menu(currentSales, twoDArray, oneDArray, currentSales));
main.cpp(42): warning C4244: 'argument': conversion from 'float' to 'int', possible loss of data
main.cpp(42): warning C4244: '=': conversion from 'float' to 'int', possible loss of data
Your function returns a float but you're trying to store it in an int.
You have another problem, however, that I am surprised visual studio is not informing you of. You are going to overrun your array.
main.cpp(110): error C4789: buffer 'twoDArray' of size 1800 bytes will be overrun; 3600 bytes will be written starting at offset 0
And there's no need for you to include conio. Don't. Let it die.