hey say i made a file called data.dat and say i put this into the file
7
8
9
20

how would i read data from that file i think it has to do with ifstream but i didnt quite understand it the way my book explained it
if anyone knows id appreciate it if they can tell me