#include #include #include using namespace std; struct PageContent { int current_page; char* content; }; struct BookContent { int number_of_pages; PageContent* pages; }; struct Book { char* title; char* author; BookContent content; }; int main() { PageContent myPage1, myPage2, myPage3; myPage1.current_page = 1; myPage1.content = "Once upon the time. There was. A lonely. Lonely fox."; myPage2.current_page = 2; myPage2.content = "The fox. Didn't have. Any friends."; myPage3.current_page = 3; myPage3.content = "But one day, everything changed."; BookContent myContent; myContent.number_of_pages = 3; PageContent myPages[] = {myPage1, myPage2, myPage3}; myContent.pages = myPages; Book myBook; myBook.title = "The lonely fox"; myBook.author = "Someone Good"; myBook.content = myContent; system("PAUSE"); return 0; }