I've got a question about debugging with MS VisualStudio. I've got a .cpp-file with a ifstream-command which reads from the file "input.txt".
I put the txt in the same folder where i found the .exe after building the project and if I doubleclick the .exe it works, but if I use the debugging with VS it can't find the input.txt. Where do I have to put it then?
Well when you debug a program it uses whichever configuration you have it set to, i.e. release or debug.
If you set the program to debug configuration in project properties and then paste the file in the debug folder next to the program it should work