C++ Code

bởi prakashhetc
Loại file không được hỗ trợ

The following file, "Book.dat" contains data corresponding to author and title respectively. Study the given class specification, the implemented methods and test driver and write C++ code to implement the readFile method. Book.dat Alice Forever Kouman Longevity Theresa Romance class Book { private: string author; string title; public: Book(string, string); void readFile(); void display(); }; Book::Book(string a, string t) { author = a; title = t; } void Book::display() { cout << author << " " << title << endl; } void Book::readFile() { // your code goes here } int main() { Book b("", ""); b.readFile(); }

image of username prakashhetc Flag of India Bangalore, India

Giới thiệu

I passed [login to view URL](cs) From Hooghly Engg. and Tech College,WestBengal. now i am ASE at manhattan Associates,[login to view URL] i am on WMOS product of [login to view URL] i am seeking well C++ ,Java and oracle project.

$10 USD/Giờ