Category : file

I’ve managed to monitor every change in any given path using the API ReadDirectoryChanges and Windows WM messages to monitor Clipboard changes. However it seems that these functions do not track dragging a file out of the directory. I’m familiar with the WM_DROPFILES msg, but it’s only local for my application and not for global ..

Read more

Whenever I attempt to output a line, it outputs the data from the file vertically instead of outputting the full line horizontally. My main goal is to output each line individually and remove commas and repeat till no more lines are in the CSV file. An example when I run the code: cout << data[1] ..

Read more

I have the following fileManager.cpp code: #include "fileManager.h" #include <filesystem> using namespace std; fileManager::fileManager(string path) { this->_path = path; } fileManager::~fileManager() {} string fileManager::getExtension() { return filesystem::path(this->_path).extension(); // error: ‘filesystem’ has not been declared } it seems that all the fs_path is grayed out… Source: Windows Que..

Read more