Answer to Question #17173 in Action Script | Flash | Flex | ColdFusion for muhamad

Question #17173
This is for the implementation of the Options 1 to 4 of the menu. For simplicity, we assume that the total number of books will not exceed 1000 within the program. To accommodate up to 1000 book records, consequently, you can declare an array of structures with this size in the main() of bookRecord.cpp. The array should originally contain five records in order to run the program before adding any new records. As a result, you need to declare and initialize the array with the five records as given below:
const int MAXRECORD = 1000;
struct bookRecord
{
string callNum;
string title;
double price;
int copyNum;
};
bookRecord bookRec[MAXRECORD]=
{"A010", "Harry Potter”, 79.95, 10,
“C101”, “eCommerce”, 115.48, 3,
"E180", "Digital Signal Processing", 68.45, 5,
"E486", "Optimal Control Systems”, 49.99, 2,
“S666”, “A Brief History of Time”, 15.25, 8};
0
Expert's answer

Answer in progress...

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS