well it's unfortunate that it's teaching you to use char arrays, although I'll admit that for random file access with fixed-length records, there really aren't a lot of other ways to do it.
Type: Posts; User: Elkvis
well it's unfortunate that it's teaching you to use char arrays, although I'll admit that for random file access with fixed-length records, there really aren't a lot of other ways to do it.
unless this is a school assignment, and you haven't covered std::string yet, I would strongly recommend using std::string and std::getline instead of char arrays and cin.getline(). also, in places...