Visual studio does not work because it cannot compile only a single .cpp file, and dev c++ does not have many finctions such as return 0, so is there a good compiler out there that can easily compile a .cpp file. The reason I want this is because whenever you want to output a file in visual studio you can never use the ios::app function for adding to a text file made by another project since it saves the file in the project folder. Also, there is always an error whenever I try to output the file to specified directory.