In quel modo si leggono i file binari non quelli di testo e comunque è inutile quel new ifstream quando puoi usare direttamente:
senza lasciare memory leaks ovunque.codice:ifstream ifi(name.c_str());
In quel modo si leggono i file binari non quelli di testo e comunque è inutile quel new ifstream quando puoi usare direttamente:
senza lasciare memory leaks ovunque.codice:ifstream ifi(name.c_str());
This code and information is provided "as is" without warranty of any kind, either expressed
or implied, including but not limited to the implied warranties of merchantability and/or
fitness for a particular purpose.