Thread View: pl.comp.lang.c
1 messages
1 total messages
Started by Szyk Cech
Sat, 17 Aug 2019 11:58
Jak pobrać standardowe ścieżki?!?
Author: Szyk Cech
Date: Sat, 17 Aug 2019 11:58
Date: Sat, 17 Aug 2019 11:58
21 lines
1672 bytes
1672 bytes
Witam! Jak pobrać standardowe ścieżki w Linux-ie i Windows-ie?!? Oczywiście najchętniej widziałbym tu przenośne rozwiązanie. Ale jestem przygotowany na rozwiązanie nieprzenośne (ja je przykryje rozwiązaniem przenośnym). Interesują mnie następujące ścieżki: std::wstring gSettingsDir(); std::wstring gLocalDataDir(); std::wstring gAppDataDir(); std::wstring gLogDir(); std::wstring gTempDir(); W sumie chciałbym coś w stylu: https://doc.qt.io/qt-5/qstandardpaths.html Jednak bez użycia Qt - chcę napisać jak największą część mojej aplikacji w czystym C++. Z góry dzięki i pozdro! Szyk Cech
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads