Using visual studio 2008 express... I can not open a file; f.is_open() is false.
ifstream f;
int num_patches;
f.open ("teapot.txt");
if (f.is_open()) {
while (! (f.eof())) {
f >> num_patches;
...
So where do I put the "teapot.txt" file? I have tried several directories.
Perhaps there's another problem? I'm new to c.
thanks,
jjj
