get ifstream byte size code example
Example: std::ifstream get the size of the fyle in bytes
ifstream file( "example.txt", ios::binary | ios::ate);
return file.tellg();
ifstream file( "example.txt", ios::binary | ios::ate);
return file.tellg();