This is my first attempt to write a simple C++ program:#include <iostream>#include <cstring>#include <vector>using namespace std;class Book {    public:    char title[30];    Book(char *tit)  {        strcpy(title,tit);    };    char *gettitle() {        return title;    }};int main() {    Book miolibro((char *)aaa);    cout << miolibro.gettitle() << endl;   std::vector<Book> vettorelibri;    for (int i=0; i<10; i++) {        Book l( (char *)aaa );   // i tried something like aaa+i but it does not work        vettorelibri.push_back(l);       }    for(int i=0; i<10; i++) {        cout << vettorelibri[i].gettitle() << endl;    }};
Critique my first C++ Hello World program
c++