0

Need help with program

My program is not swapping the birthdates of people from an input file. The input file is like so: 20010628 John Doe 19760912 David Pea https://code.sololearn.com/cd2S6Ftbl0CI/?ref=app

3rd Dec 2019, 2:32 AM
Derek
4 Réponses
0
make these changes: int s=0, first=0, date=0, origDate=0, longDate=0, name=0; for(;i<s;i++)
3rd Dec 2019, 4:05 AM
minirkk
minirkk - avatar
0
Still didnt work
3rd Dec 2019, 4:11 AM
Derek
0
maybe sololearn compiler doesnt support file.
3rd Dec 2019, 4:15 AM
minirkk
minirkk - avatar
0
Thanks for trying
3rd Dec 2019, 4:49 AM
Derek