[Dev-C++] newbie trying to relate header files in books and documentation todev-c++
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: John K. <jki...@po...> - 2001-12-24 20:41:41
|
A program from a book for newbies (Accelerated C++) gave an example program using the header #include<ios>. The gcc command-line compiler balked until I simply commented that line out. Reading the GNU documentation, it looks like <ios> is related to <iostream>, which *was* included in this program's header listings. Its inclusion is possibly why the program runs with the #includes<ios> line commented out. Could someone explain the relatinship between those two header files? I don't find <ios> in my dev-c++ distro. Do I need it? Why would a program in a well-received book use a header declaration that can be commented out? Does the gcc version (2.952) I recently downloaded with dev-c++ need to be updated? I don't like that I am having these problems with things like configurations and header files, but those are the issues I need to deal with since they are coming up at this early stage. Thanks. |