Site Tools


zos:zos

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
zos:zos [2025/02/16 12:53] – [Letošní příklady] 2a00:1028:919d:bcb2:da5e:d3ff:fe59:4914zos:zos [2025/02/24 19:46] (current) – [Poznámky] 2001:718:2:1901:0:1:94bc:a64a
Line 1: Line 1:
  
 ====== Literatura ====== ====== Literatura ======
- 
-Skripta Vysoké školy báňské http://projekty.fs.vsb.cz/463/edubase/VY_01_043 soubor Operační systémy.pdf 
  
 Andrew S. Tanenbaum: Operating Systems Design and Implementation Andrew S. Tanenbaum: Operating Systems Design and Implementation
Line 235: Line 233:
  
 XV6 https://pdos.csail.mit.edu/6.S081/2020/xv6/book-riscv-rev1.pdf XV6 https://pdos.csail.mit.edu/6.S081/2020/xv6/book-riscv-rev1.pdf
 +
 +<code C++>
 +
 +// #undef UNICODE
 +#include <Shlobj.h>  // need to include definitions of constants
 +
 +#include <iostream>
 +using namespace std;
 +
 +int main()
 +{
 +    WCHAR path [MAX_PATH];
 +    
 +    if (SUCCEEDED(SHGetFolderPath(NULL, CSIDL_PROFILE, NULL, 0, path)))
 +    {
 +        wcout << "Home direcory: " << path << endl;;
 +    }
 +
 +    if (SUCCEEDED(SHGetFolderPath(NULL, CSIDL_PERSONAL, NULL, 0, path)))
 +    {
 +        wcout << "Documents directory: " << path << endl;;
 +    }
 +}
 +
 +</code>
 +
zos/zos.1739710426.txt.gz · Last modified: 2025/02/16 12:53 by 2a00:1028:919d:bcb2:da5e:d3ff:fe59:4914 · Currently locked by: 216.73.216.187