I am having some trouble including "iostream" "fstream" to my code.
I tried the following ways and base times it did not work. What is the problem? test.cc: ======= .... #include <iostream.h> #include <fstream.h> ..... >g++ test.cc test.cc:8: iostream.h: No such file or directory test.cc:9: fstream.h: No such file or directory >gcc test.cc test.cc:8: iostream.h: No such file or directory test.cc:9: fstream.h: No such file or directory test.cc: ======= .... #include <iostream> #include <fstream> using namespace std; using std::cout; ..... .... >g++ test.cc test.cc:8: iostream: No such file or directory test.cc:9: fstream: No such file or directory >gcc test.cc test.cc:8: iostream: No such file or directory test.cc:9: fstream: No such file or directory _______________________________________________ help-gplusplus mailing list help-gplusplus@gnu.org http://lists.gnu.org/mailman/listinfo/help-gplusplus