Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

main.cpp: In function 'int main ( ) ' : main.cpp: 1 1 3 : 3 6 : error: passing 'const bookType' as 'this' argument discards

main.cpp: In function 'int main()':
main.cpp:113:36: error: passing 'const bookType' as 'this' argument discards qualifiers [-fpermissive]
113
b.printAllBooks ();
main.cpp:52:6: note: in call to ' void bookType: :printAllBooks()'
52| void bookType::printAllBooks(){
| Anemonnour
main. cpp:120:47: error: passing 'const bookType' as 'this' argument discards qualifiers [-fpermissive]
120
b. printBooksByTitleAndISBN();
main.cpp:67:6: note: in call to ' void bookType::printBooksByTitleAndISBN()'
67| void bookType::printBooksByTitleAndISBN(){
Amennemenour
main.cpp:126:39: error: passing 'const bookType' as 'this' argument discards qualifiers [-fpermissive]
126
b.searchBookByISBN();
main.cpp:72:6: note: in call to ' void bookType: :searchBookByISBN()'
72| void bookType::searchBookByISBN(){
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Systems Design Implementation And Management

Authors: Peter Robb,Carlos Coronel

5th Edition

061906269X, 9780619062699

More Books

Students also viewed these Databases questions