- Отметить как новое
- Закладка
- Подписаться
- Отключить
- Подписка на RSS-канал
- Выделить
- Печать
- Сообщить о недопустимом содержимом
There seems to be no simple way of obtaining the modified date of an external file in Fortran. Can anyone help with a few lines of Fortran code to get the information? Preferably, the code is portable across platforms and compilers (I know GFortran has an intrinsic function for this purpose).
Ссылка скопирована
1 Ответить
- Отметить как новое
- Закладка
- Подписаться
- Отключить
- Подписка на RSS-канал
- Выделить
- Печать
- Сообщить о недопустимом содержимом
Fortran, by itself, does not try to give you interfaces to file systems, and the information stored by the OS regarding a file is OS-dependent.
Intel Fortran provides the portability routine GETFILEINFOQQ in module IFPORT. Information available includes times of creation, last write and last access, depending upon the type of the file system in which the file resides.

Ответить
Параметры темы
- Подписка на RSS-канал
- Отметить тему как новую
- Отметить тему как прочитанную
- Выполнить отслеживание данной Тема для текущего пользователя
- Закладка
- Подписаться
- Страница в формате печати