If i want to read 10 integers from a file i would write this:



int main(){

int i;

freopen("numbers.txt","r",stdin);