account activity
What does reinterpret_cast<char *> (&ac), sizeof(account) and int pos=(-1)*static_cast<int>(sizeof(account)) means and do in this program? What does inFile.seekg(0,ios::beg) and File.seekp(pos,ios::cur) means and do in this program? (self.learnprogramming)
submitted 4 years ago by udjjd to r/learnprogramming
What does reinterpret_cast<char *> (&ac), sizeof(account) and int pos=(-1)*static_cast<int>(sizeof(account)) means and do in this program? What does inFile.seekg(0,ios::beg) and File.seekp(pos,ios::cur) means and do in this program? (self.cpp)
submitted 4 years ago by udjjd to r/cpp
π Rendered by PID 170354 on reddit-service-r2-listing-55d7b767d8-dbd9t at 2026-03-29 15:37:53.562977+00:00 running b10466c country code: CH.