{"repo":"vilbeyli/VQUtils","free":true,"listed":false,"github":"https://github.com/vilbeyli/VQUtils","clone":"git clone https://github.com/vilbeyli/VQUtils.git","description":"A collection of Windows/C++ utility functions on string manipulation/formatting, file system, date/time, logging, etc.","language":"C++","stars":10,"topics":["utility","date-formatting","logging"],"license":"GPL-3.0","category":"analytics","readme_excerpt":"VQUtils A Collection of Windows C++ utility functions for querying system info, string manipulation & formatting, date/time, logging, timer, etc. Feature List - System Info - Timer - Multithreading: Threadpool, synchronization structs - Logging: Console &/ File - Image Loading: 32bit & HDR formats - String Utilities - Directory Utilities - Math Utilities System info sample output: String formatting example Log::Info(\"Allocation Size : %s\", StrUtil::FormatByte(this- mAllocSize).c str()); // [2021 03 27-17:58:57] [INFO] : Allocation Size : 256KB Directory Utilities namespace DirectoryUtil { enum ESpecialFolder { PROGRAM FILES, APPDATA, LOCALAPPDATA, USERPROFILE, }; std::string GetSpecialFolderPath(ESpecialFolder folder); std::string GetFileNameWithoutExtension(const std::string&); std::string GetFileNameFromPath(const std::string& filePath); std::string GetFileExtension(const std::string& filePath); std::string GetCurrentPath(); // removes separators from a path and returns all the folder names in a vector // e.g. \"C:/Program Files/TestFolder\" - [\"C:\", \"Program Files\", \"TestFolder\"] std::vector GetFlattenedFolderHierarchy(const std::string& path); // returns true of the given file exists. bool FileExists(const std::string& pathToFile); // returns true if folder exists, false otherwise after creating the folder bool CreateFolderIfItDoesntExist(const std::string& directoryPath); // returns the folder path given a file path // e.g.: @pathToFile=\"C:\\\\Folder\\\\File.txt\" - returns \"C:","default_branch":null,"files":null,"tree":[],"storefront":"/r/vilbeyli","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/vilbeyli/VQUtils/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}