Hello,
I'm just learning C++ and how to use the Code::blocks IDE 64bit v20.3.
C::B is installed and compiles fine on "Hello World".
But I'm using an old a book called "teach yourself C++ in 21 days" it uses #include <iostream.h> at the top of all the programs shown there. How do I setup C::B to use this vrs. #include <iostream>? I get an error if I add the "h".
The book says that this may have to use an "include path or environmental variable". But I can't figure out how to do this.
I think it had more to do with compilers setting than the include path.
Can someone please help ?
Drop that book into the next trash bin and get something recent. Or go into a tech musuem, maybe there you can find a computer that runs an ancient c++ compiler that ships with these nonstandard headers.
Really, if you dont know anything about c++ do yourself a favor and learn with recent material. Finally there is some movement and c++ gets updated, a lot of the new features change things drastically in contrast to the past.
To say it short...
Standard library headers for c++ do not have ".h" anymore. So do not add it in your code....
Thank you very much, both of you