Now my only problem is that if I press on "Local Windows Debugger" the program flashes and debugging ends, now that problem I fixed by pressing CTRL+F5 so it keeps the window up, now it does that but it says "Unable to load image", so I went to the debug folder and I ran the .exe file and it actually works perfectly fine, but I want Visual Studio CTRL+F5 to work well too... how do I get it to work?
You need to configure the working directory that will be used during debugging. By default it's set to $(ProjectDir), but $(OutDir) is usually more useful.