Se puoi installare le GNU coreutils per Windows (qui), basta usare tail:
codice:tail -n 1 nomefile.txt > out.txt
Se puoi installare le GNU coreutils per Windows (qui), basta usare tail:
codice:tail -n 1 nomefile.txt > out.txt
Amaro C++, il gusto pieno dell'undefined behavior.