Differences in Tutorials?

I have seen three different tutorials. one was from the 80's, the other was unknown, and the third was the one from this site. I tried to use the one from the 80's, and the hello world program didn't work it used just stream.h (#include <stream.h>. I tried to use the second one, and it didn't have the [code]using namespace std in it, so it didn't work. why would an older style of C++ not work now? If you know C++ and it changes, it would be a pain in the a$$ to change your habits.
C++ has never changed since it was standardized. The problem is that your old tutorials are about pre-ISO C++.
And usually changing a prestandard C++ into standard C++ doesn't take much time
Being backwards compatible is one of C++ main design guides
Last edited on
Here is an article that explains some differences between ISO C++ and pre-ISO C++ headers: http://members.gamedev.net/sicrane/articles/iostream.html
Topic archived. No new replies allowed.