Time                     Inside   Entry   Exit  
Fri Sep 27 15:06:44 2019    3       8      5
Fri Sep 27 15:07:42 2019    5       10     5
Fri Sep 27 15:19:38 2019    4       9      5
Fri Sep 27 15:20:39 2019    4       9      5
Fri Sep 27 15:57:30 2019    3       8      5
This is my input file. I want to retrieve the last value from the column Inside. I can retrieve whole data from that file. Tried using fscanf(). But it won't work.I'm using Qtcreator for this.
string line;
  ifstream myfile ("Count.csv");
  if (myfile.is_open())
  {
    while ( myfile.good() )
    {
      getline (myfile,line);
      cout << line<<endl;
    }
