Note that there are some explanatory texts on larger screens.

plurals
  1. USS Chow
    primarykey
    data
    text
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. COSo I hope u have understood the problem -- now can we find the correct explanation. "Somehow triggering end of file" is confusing. I have found a solution by introducing another field as "slno" which I am updating sequentialy and now i can enter as many number of records with same airline_no as i want. But why is it happening like that? i want help!!!
      singulars
    2. COYou are right about cout<<,I have not explained the problem well. What I meant, in file testdata.dat record can not be written for more than 4 times with same airline_no. Although coice 1 of the code does not show any error giving an impression that data has been written, but when coice 2 for display is used only 4 records are shown. Please help understand.My test data are 1010,New Delhi,1000,Mumbai,1200,All Days,1; 1020,New Delhi,1000,Mumbai,1200,All Days,1; 1030,New Delhi,1000,Mumbai,1200,All Days,1; 1040,New Delhi,1000,Mumbai,1200,All Days,1; 1050,New Delhi,1000,Mumbai,1200,All Days,1;
      singulars
    3. COSorry I have not been able to explain the problem. What I asked was in the file testdata.dat record can not be written for more than 4 times with same airline_no. Although coice 1 of the code does not show any error giving an impression that data has been written, but when coice 2 for display is used only 4 records are shown. Please help understand.My test data are 1010,New Delhi,1000,Mumbai,1200,All Days,1; 1020,New Delhi,1000,Mumbai,1200,All Days,1; 1030,New Delhi,1000,Mumbai,1200,All Days,1; 1040,New Delhi,1000,Mumbai,1200,All Days,1; 1050,New Delhi,1000,Mumbai,1200,All Days,1;
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload