📅  最后修改于: 2022-03-11 14:44:50.150000             🧑  作者: Mango
//Read file to the end
while(inFile.read(reinterpret_cast(&temp), sizeof(temp)))
{
//Store each int in the vector
myVector.push_back(temp);
}