Quote Originally Posted by s123456 View Post
like this?
Code:
	for(int i = 0; i< 4;i++)
		{	cout << file.read(reinterpret_cast<char*>(&yourCat), sizeof(struct Cat));
			cout << setw(10) << left << yourCat.name << "\t";
			cout << yourCat.age <<endl;
		}
  1. What this highlighted "statement" could mean?
  2. Please, use Code tags while posting code snippets!