Come è possibile eseguire il terzo punto? Cosa mi restituisce la posizione del file?codice:#include <iostream> #include <fstream> #include <string> using namespace std; int main() { ifstream rd; ofstream wr; rd.open("tutte_righe.txt"); wr.open("riga_scelta.txt"); string line; int contatore = 0; int ferma = 0; while(!rd.eof()) { contatore++; } ferma = rand() % contatore; rd.close(); rd.open("tutte_righe.txt"); while(!rd.eof()) { if(ferma == ??) wr<< line; } rd.close(); wr.close(); return 0; }