what I'm trying to do with this code is to create a bot that automatically downloads a file when it read a discord message (that part is not done yet) but I want to save the download button position variable (mouse down position) into a text file and make it read but I don't know how to create an input/output text file from c++
bonus: if you want could you tell me how to make c++ read a discord message from a specified user