Originally Posted by
blunt
Thanks for help! There are also few good ideas that I could use BUT:
first of all I'd like it to be fully-working program. For now I have two classes: movie and customer. I can add and delete objects, You can get more information about movie or customer. To get it done I need at least 2 things: an idea of renting process and writing (and reading) results of my work into the txt file.
1. My idea: add to a class customer, let's say 3 strings named 'title1, title2, title3'. And when when You rent a movie, title goes there. But sounds silly to me.
2. C++ is supposed to be simpler than C but I cannot figure it. In C I opened a file with fopen, read it few lines later, close it with fclose, and write it all down with fwrite just before fclose is executed. I just can't figure it out in C++.