I'm pulling my hair out on this one. It's been a while since I've specified a path for an ofstream. I just want a simple file called "abc.txt" in the C: folder and I want to write "abc" to it. Anyone see anything wrong? Thanks.
#include <fstream>
using namespace std;
int main ()
{
ofstream outs;
outs.open ("C:\\abc.txt");
outs << "abc";
outs.close ();
return 0;
}