iostream.h/fstream.h???
-
Why is
iostream.h
&fstream.h
missing from VC++.NET include folders. If I copy the same files from VC6.0 then I get errors in those files. What can I do, where can I get those header files and if not what headers can I use instead offstream.h
We have a mathematician, a different kind of mathematician, and a statistician! -
Why is
iostream.h
&fstream.h
missing from VC++.NET include folders. If I copy the same files from VC6.0 then I get errors in those files. What can I do, where can I get those header files and if not what headers can I use instead offstream.h
We have a mathematician, a different kind of mathematician, and a statistician! -
Why is
iostream.h
&fstream.h
missing from VC++.NET include folders. If I copy the same files from VC6.0 then I get errors in those files. What can I do, where can I get those header files and if not what headers can I use instead offstream.h
We have a mathematician, a different kind of mathematician, and a statistician!"iostream.h" and "fstream.h" are not part of C++. Look at "iostream" and "fstream" and then the 'std::' scope.
#include <iostream>
#include <iomanip>
#include <fstream>void SomeFuncToReadFile ( const char * sFile )
{
std::ifstream in ( s ) ;
if ( !in )
{
std::cerr << "Couldn't open input file : " << s << std::endl ;
return ;
}
in.unsetf(std::ios::skipws) ;// do whatever with the file
}Paul