Mercurial > minori
view dep/animia/test/main.cpp @ 59:327e9a5c72f1
filesystem: add basename and stem functions
| author | Paper <mrpapersonic@gmail.com> | 
|---|---|
| date | Thu, 28 Sep 2023 13:45:45 -0400 | 
| parents | 6ff7aabeb9d7 | 
| children | 4c6dd5999b39 | 
line wrap: on
 line source
#include "animia.h" #include <iostream> int main() { std::unordered_map<int, std::vector<std::string>> map = Animia::get_all_open_files(); for (int i = 0; i < map.size(); i++) { for (std::string s: map[i]) { std::cout << Animia::get_process_name(i) << " (" << i << "): " << s << "\n"; } } }
