I am in Visual Studio and am getting 'ifstream undeclared identifier' with this code (same for ofstream)
#include <iostream>
#include <iomanip>
#include <fstream>
void main()
{
ifstream infile("file.txt");
ofstream outfile("out.txt");
}
do I need to include something else?