Category : structure

I tried to make nested struct in a nested struct. Here my code #include <iostream> using namespace std; struct date { int month; int year; }; struct actor { string name; date birth; }; struct film { string title; date releaseDate; actor cast; }; int main() { date date1; date date2; actor cast1; film film1; ..

Read more

The main problem is that I don’t quite know how to mention a structure that was "implemented" in another one… I would appreciate a lot if you could give an advice on solving this and explain my mistake. Thanks a lot for paying attention to my question Here’s mistakes that I keep getting: https://i.stack.imgur.com/T0Vku.png #define ..

Read more