mardi 26 décembre 2017

i have a file that i want to open put when i disply the file the end of the disply is zeros

i want to disply the txt file in c++ the disply shows correct but in the end their are zeros

the output is suppose to be:

GrandHayat 1300 0 1550 5 2100 0

FourSeasons 1440 12 1600 0 2120 2

Raddisonblu 750 5 1200 12 1980 11

St.Regis 1420 0 1650 6 2200 3

Sheraton 1370 14 1630 2 2180 1

but it comes like this:

GrandHayat 1300 0 1550 5 2100 0

FourSeasons 1440 12 1600 0 2120 2

Raddisonblu 750 5 1200 12 1980 11

St.Regis 1420 0 1650 6 2200 3

Sheraton 1370 14 1630 2 2180 1

0 0 0 0 0 0 0

Aucun commentaire:

Enregistrer un commentaire