Hi, I am trying to learn OOP with c++ with the help of Turbo C++ version 3.0 and "C++ Primer Plus" by stephen prata.
according to the book, the NEW convention for including the iostream header file in c++ is in the following way:
but it causes an error saying : unable to open include file "IOSTREAM"
however the following code works:
#include<iostream.h> but it is supposed to be the OLD convention
Moreover , according to the book, it is necessary to use the following:
using namespace std
so that we can use cout and cin directly without having to tytpe std::cout or std::cin
but when I use this an error saying "declaration syntax error" appears
the weird thing is that cout and cin work just fine without this statement when they are not supposed to do so
This is really confusing as I dont know which is right and which is wrong, could use some help
Also I would appreciate it if anyone could suggest a better IDE for windows 7 32 bit