How can i read data untill end of line?I have a text file "file.txt" with this
1 5 9 2 59 4 6
2 1 2 
3 2 30 1 55
I have this code:
ifstream file("file.txt",ios::in);
while(!file.eof())
{
    ....//my functions(1)
    while(?????)//Here i want to write :while (!end of file)
    {
        ...//my functions(2)
    }
}
in my functions(2) i use the data from the lines and it need to be Int ,not char
 
     
     
     
    