What is the proper syntax for calling this function?
Code:void BA747_RADIO::StoreThisMessage(B747_Flight::Flight_t flight, unsigned index) { int temp; Flight_Object flightObj; temp = (int)_data.msgsReceived[index].type; switch (temp) { case BA747_RADIO::VORTACS: // vor/tacan flightObj.Add_Radio_aid(radiodata.Rec[index].VORTAC_Data, flight); break; case BA747_RADIO::ADFS: // adf flightObj.Add_Radio_aid(radiodata.Rec[index].ADF_Data, flight); break; }; } // end BA747_RADIO::StoreThisMessage