Hello.
I wrote the user.xml file in this way
<Пользователь>Афанасий</Пользователь> <Пол>Мужчина</Пол> <Дата> <Год>1988</Год> <Месяц>5</Месяц> <День>5</День> <Род деятельности>Путешествия</Род деятельности> </Дата> <Пользователь>Марина</Пользователь> <Пол>Женский</Пол> <Дата> <Год>1968</Год> <Месяц>2</Месяц> <День>12</День> <Род деятельности>Путешествия</Род деятельности> </Дата> <Пользователь>Димон</Пользователь> <Пол>Мужчина</Пол> <Дата> <Год>1588</Год> <Месяц>5</Месяц> <День>31</День> <Род деятельности>Путешествия</Род деятельности> </Дата>
I want the program to read the file, select the data, and put it in a variable. Example: today is 03/28/12, and if the program sees that there is a date of 3.04.12 or less, then transfer them to variables
int day = 0; int month = 0; int year = 0;
Well, and continue to work with them, just XML for me is something new, I searched on YouTube, I did not find it, on MSDN there is too much for everyone, and it’s not clear where there is something that you end up confusing.